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/test/tagged_logging_test.rb | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'activesupport/test') diff --git a/activesupport/test/tagged_logging_test.rb b/activesupport/test/tagged_logging_test.rb index 0f5b2cba8f..27f629474e 100644 --- a/activesupport/test/tagged_logging_test.rb +++ b/activesupport/test/tagged_logging_test.rb @@ -22,17 +22,6 @@ class TaggedLoggingTest < ActiveSupport::TestCase assert logger.formatter.respond_to?(:tagged) end - test 'creates a tagged logger with the appropriate level and formatter' do - stringio = StringIO.new - logger = ActiveSupport::TaggedLogging.create(stringio, ActiveSupport::Logger::SimpleFormatter.new, :debug) - logger.debug("foo") - - assert_not_nil logger.formatter - assert logger.formatter.respond_to?(:tagged) - assert_equal 0, logger.level - assert stringio.string.include?("foo") - end - test "tagged once" do @logger.tagged("BCX") { @logger.info "Funky time" } assert_equal "[BCX] Funky time\n", @output.string -- cgit v1.2.3