Change to use ActiveSupport::Logger instead of BufferedLogger for Rails 4 compatibility