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