Log progname as empty string if nil.

This commit is contained in:
Guo Xiang Tan 2017-11-06 16:01:32 +08:00
parent c1926e6dd2
commit 96a414d0a5

View File

@ -5,7 +5,7 @@ class UnicornJSONLogFormatter < Logger::Formatter
default = {
severity: severity,
datetime: datetime,
progname: progname,
progname: progname || '',
pid: $$,
}