From: Jean-Philippe Lang Date: Fri, 25 May 2012 16:54:23 +0000 (+0000) Subject: Replace RAILS_DEFAULT_LOGGER with ::Rails.logger (#11013). X-Git-Tag: 2.1.0~520 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e7b9a9c6ff43711faf5ef0f1c480b43c61636f8c;p=redmine.git Replace RAILS_DEFAULT_LOGGER with ::Rails.logger (#11013). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9712 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/imap.rb b/lib/redmine/imap.rb index dd1904d3a..eb37a16a4 100644 --- a/lib/redmine/imap.rb +++ b/lib/redmine/imap.rb @@ -53,7 +53,7 @@ module Redmine private def logger - RAILS_DEFAULT_LOGGER + ::Rails.logger end end end diff --git a/lib/redmine/pop3.rb b/lib/redmine/pop3.rb index f6b942383..c900ca2ae 100644 --- a/lib/redmine/pop3.rb +++ b/lib/redmine/pop3.rb @@ -55,7 +55,7 @@ module Redmine private def logger - RAILS_DEFAULT_LOGGER + ::Rails.logger end end end