Include process PID in log messages.
Submitted by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 2 weeks
This commit is contained in:
parent
d9a5627136
commit
1c05a32422
@ -57,6 +57,9 @@ pjdlog_mode_set(int mode)
|
||||
assert(mode == PJDLOG_MODE_STD || mode == PJDLOG_MODE_SYSLOG);
|
||||
|
||||
pjdlog_mode = mode;
|
||||
|
||||
if (mode == PJDLOG_MODE_SYSLOG)
|
||||
openlog(NULL, LOG_PID, LOG_DAEMON);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user