diff options
author | Steve Klabnik <steve@steveklabnik.com> | 2013-03-15 10:38:00 -0700 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2013-03-15 10:38:00 -0700 |
commit | 1a9055073dcc189b289a1e3f47cbc72ff7380f0a (patch) | |
tree | d9751d5556a262a8e14edfe940325d8adc2074c3 /activesupport/lib | |
parent | 29030d3f89298905acc782df89b758d163dcf630 (diff) | |
download | rails-1a9055073dcc189b289a1e3f47cbc72ff7380f0a.tar.gz rails-1a9055073dcc189b289a1e3f47cbc72ff7380f0a.tar.bz2 rails-1a9055073dcc189b289a1e3f47cbc72ff7380f0a.zip |
Revert "make new rails apps log to STDOUT"
This reverts commit b7d9d6e2cd5082d269dafbc0316e2107febe1451.
Per discussion with @jeremy and @rubys on Campfire.
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/tagged_logging.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activesupport/lib/active_support/tagged_logging.rb b/activesupport/lib/active_support/tagged_logging.rb index 09bfc95231..18bc919734 100644 --- a/activesupport/lib/active_support/tagged_logging.rb +++ b/activesupport/lib/active_support/tagged_logging.rb @@ -54,14 +54,6 @@ module ActiveSupport end end - def self.create(f, formatter, level) - logger = ActiveSupport::Logger.new f - logger.formatter = formatter - logger = new(logger) - logger.level = ActiveSupport::Logger.const_get(level.to_s.upcase) - logger - end - def self.new(logger) # Ensure we set a default formatter so we aren't extending nil! logger.formatter ||= ActiveSupport::Logger::SimpleFormatter.new |