Fix the build.

This commit is contained in:
Guo Xiang Tan 2017-11-06 16:56:22 +08:00
parent ffe823ed32
commit 6a47491afe

View File

@ -4,7 +4,7 @@ class UnicornJSONLogFormatter < Logger::Formatter
def call(severity, datetime, progname, message)
default = {
severity: severity,
datetime: DateTime.parse(datetime).to_s,
datetime: DateTime.parse(datetime.to_s).to_s,
progname: progname || '',
pid: $$,
}