mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
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…
x
Reference in New Issue
Block a user