Changing to ActiveSupport::Logger, which is much simpler