From 79a9c7a702f4bccb2af5c82bb9a78209b28ab1c7 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 25 Sep 2007 03:47:37 +0000 Subject: Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit with no formatter) to the Ruby Logger, which provides a very nice speed bump (inspired by Ezra's buffered logger) [DHH] Changed the default logger from Ruby's own Logger with the clean_logger extensions to ActiveSupport::BufferedLogger for performance reasons [DHH]. (You can change it back with config.logger = Logger.new(/path/to/log, level).) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activesupport/lib/active_support.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'activesupport/lib/active_support.rb') diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb index 9eec6f3b38..28424dd6a7 100644 --- a/activesupport/lib/active_support.rb +++ b/activesupport/lib/active_support.rb @@ -29,7 +29,10 @@ require 'builder' require 'active_support/inflector' require 'active_support/core_ext' + require 'active_support/clean_logger' +require 'active_support/buffered_logger' + require 'active_support/dependencies' require 'active_support/deprecation' -- cgit v1.2.3