aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorKarunakar (Ruby) <revurikarna@gmail.com>2012-01-05 00:22:24 +0530
committerKarunakar (Ruby) <revurikarna@gmail.com>2012-01-06 00:38:46 +0530
commit00236435221a39441af3f1e76110767fba4154a8 (patch)
tree020e11b7db361cada6dc01ec785585da50a62609 /activerecord/lib
parentf63fff6a8492b32c5e44202b938ce5d9600faa2a (diff)
downloadrails-00236435221a39441af3f1e76110767fba4154a8.tar.gz
rails-00236435221a39441af3f1e76110767fba4154a8.tar.bz2
rails-00236435221a39441af3f1e76110767fba4154a8.zip
Moved all the logger methods to active support logger
minor
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/railtie.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb
index 165d0750dd..b1c8ae5b77 100644
--- a/activerecord/lib/active_record/railtie.rb
+++ b/activerecord/lib/active_record/railtie.rb
@@ -38,7 +38,7 @@ module ActiveRecord
# first time. Also, make it output to STDERR.
console do |app|
require "active_record/railties/console_sandbox" if app.sandbox?
- ActiveRecord::Base.logger = Logger.new(STDERR)
+ ActiveRecord::Base.logger = ActiveSupport::Logger.new(STDERR)
end
initializer "active_record.initialize_timezone" do