Rails 4 removes ActiveSupport::BufferedLogger

Rails 4 uses ActiveSupport::Logger instead of ActiveSupport::BufferedLogger. Only use ActiveSupport::BufferedLogger if it's defined, else support ActiveSupport::Logger going forward.

/cc @wfarr