Commit fe2843f9 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Include pid in errorlog

parent afdc61a2
......@@ -118,8 +118,9 @@ Log::~Log()
auto tty = worker_config.errorlog_tty;
rv = snprintf(buf, sizeof(buf),
"%s [%s%s%s] %s\n %s(%s:%d)%s\n",
"%s PID%d [%s%s%s] %s\n %s(%s:%d)%s\n",
get_config()->cached_time,
getpid(),
tty ? SEVERITY_COLOR[severity_] : "",
SEVERITY_STR[severity_],
tty ? "\033[0m" : "",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment