class Logger

def datetime_format=(format)

does not respond to datetime_format=.
Logging date-time format (string passed to +strftime+). Ignored if the formatter
def datetime_format=(format)
  formatter.datetime_format = format if formatter.respond_to?(:datetime_format=)
end