Use ActiveSupport::Logger instead of ActiveSupport::BufferedLogger if available

ActiveSupport::BufferedLogger was deprecated and replaced by ActiveSupport::Logger in Rails 4. Use ActiveSupport::Logger if available.

This could be moved into a central location somewhere... but where?