From a19f8b5ca04d2519a2f823a640e0c9bf155bdee6 Mon Sep 17 00:00:00 2001 From: "Karunakar (Ruby)" Date: Wed, 4 Jan 2012 22:12:25 +0530 Subject: using the active support logger --- activesupport/lib/active_support/deprecation/behaviors.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/deprecation/behaviors.rb b/activesupport/lib/active_support/deprecation/behaviors.rb index f9505a247c..80dcaf5613 100644 --- a/activesupport/lib/active_support/deprecation/behaviors.rb +++ b/activesupport/lib/active_support/deprecation/behaviors.rb @@ -34,8 +34,8 @@ module ActiveSupport if defined?(Rails) && Rails.logger Rails.logger else - require 'logger' - Logger.new($stderr) + require 'active_support/logger' + ActiveSupport::Logger.new($stderr) end logger.warn message logger.debug callstack.join("\n ") if debug -- cgit v1.2.3