use activesupport::logger if defined

Use ActiveSupport::Logger instead of Logger if available.

Silence method (http://api.rubyonrails.org/classes/LoggerSilence.html#method-i-silence) is available to remove some useless logs entries.