Ensure we log the datetime in the format that we want.
This commit is contained in:
parent
96a414d0a5
commit
ffe823ed32
|
@ -4,7 +4,7 @@ class UnicornJSONLogFormatter < Logger::Formatter
|
|||
def call(severity, datetime, progname, message)
|
||||
default = {
|
||||
severity: severity,
|
||||
datetime: datetime,
|
||||
datetime: DateTime.parse(datetime).to_s,
|
||||
progname: progname || '',
|
||||
pid: $$,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue