diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-12 14:27:28 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-12 14:27:28 -0700 |
commit | 10e1ce4fb9a430c779eb31b767cabedc3e228b51 (patch) | |
tree | 851b69a613915df6516940d8600a184b13102b70 /railties | |
parent | 51aeae91ace4d0afb934e2d9a21000f2ddc4ea53 (diff) | |
download | rails-10e1ce4fb9a430c779eb31b767cabedc3e228b51.tar.gz rails-10e1ce4fb9a430c779eb31b767cabedc3e228b51.tar.bz2 rails-10e1ce4fb9a430c779eb31b767cabedc3e228b51.zip |
use AS::Logger so we are consistent
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/application/bootstrap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application/bootstrap.rb b/railties/lib/rails/application/bootstrap.rb index 4ee77f7726..e567df7162 100644 --- a/railties/lib/rails/application/bootstrap.rb +++ b/railties/lib/rails/application/bootstrap.rb @@ -32,7 +32,7 @@ module Rails 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) |