Change ActiveSupport::BufferedLogger to ActiveSupport::Logger