mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
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
8ecdeae9d9
commit
6d19256b15
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212052
@ -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