Use ActiveSupport::Logger instead of ActiveSupport::BufferedLogger for Rails 4