2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

[master] Add configure option to incude PID in syslog entries

This commit is contained in:
Shawn Routhier
2014-05-07 12:19:33 -07:00
parent d8c7c34ef6
commit 00e9af8ee0
9 changed files with 46 additions and 5 deletions

View File

@@ -140,7 +140,7 @@ main(int argc, char **argv) {
else if (fd != -1)
close(fd);
openlog("dhclient", LOG_NDELAY, LOG_DAEMON);
openlog("dhclient", DHCP_LOG_OPTIONS, LOG_DAEMON);
#if !(defined(DEBUG) || defined(__CYGWIN32__))
setlogmask(LOG_UPTO(LOG_INFO));