Permalink
Browse files

use AS::Logger so we are consistent

  • Loading branch information...
1 parent 51aeae9 commit 10e1ce4fb9a430c779eb31b767cabedc3e228b51 @tenderlove tenderlove committed Mar 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/application/bootstrap.rb
View
2 railties/lib/rails/application/bootstrap.rb
@@ -32,7 +32,7 @@ module Bootstrap
f.binmode
f.sync = config.autoflush_log # if true make sure every write flushes
- logger = ::Logger.new f
+ logger = ActiveSupport::Logger.new f
logger.formatter = config.log_formatter
logger = ActiveSupport::TaggedLogging.new(logger)
logger.level = ActiveSupport::Logger.const_get(config.log_level.to_s.upcase)

0 comments on commit 10e1ce4

Please sign in to comment.