aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-03-12 14:27:28 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-03-12 14:27:28 -0700
commit10e1ce4fb9a430c779eb31b767cabedc3e228b51 (patch)
tree851b69a613915df6516940d8600a184b13102b70 /railties
parent51aeae91ace4d0afb934e2d9a21000f2ddc4ea53 (diff)
downloadrails-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.rb2
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)