Bug 198995

Summary: [patch] net/dhcp6 - Fix does not log debug messages to syslog when daemonized
Product: Ports & Packages Reporter: k.dash.paulius
Component: Individual Port(s)Assignee: Hiroki Sato <hrs>
Status: Closed FIXED    
Severity: Affects Only Me CC: w.schwarzenfeld
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (hrs)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
enable daemon debug
none
patch-common.c none

Description k.dash.paulius 2015-03-29 03:54:30 UTC
Created attachment 154944 [details]
enable daemon debug

dhcp6 does not log to syslog when -D (debug) option is passed and it is running as daemon.

When running -D in foreground (option -f) it does output debug messages, but only to shell.
Comment 1 k.dash.paulius 2015-03-29 03:58:52 UTC
Created attachment 154945 [details]
patch-common.c
Comment 2 Walter Schwarzenfeld 2018-01-12 04:33:57 UTC
common.c shows:
 3207                 case 2:
   3208                         setlogmask(LOG_UPTO(LOG_DEBUG));
   3209                         break;

It is done, could be closed.