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/test | |
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/test')
-rw-r--r-- | activesupport/test/tagged_logging_test.rb | 11 |
1 files changed, 0 insertions, 11 deletions
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 |