From 1a9055073dcc189b289a1e3f47cbc72ff7380f0a Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Fri, 15 Mar 2013 10:38:00 -0700 Subject: Revert "make new rails apps log to STDOUT" This reverts commit b7d9d6e2cd5082d269dafbc0316e2107febe1451. Per discussion with @jeremy and @rubys on Campfire. --- activesupport/lib/active_support/tagged_logging.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'activesupport/lib/active_support/tagged_logging.rb') 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 -- cgit v1.2.3