The Samba-Bugzilla – Bug 8877
Syslog broken owing to mistyping of debug_settings.syslog
Last modified: 2012-05-07 16:39:00 UTC
Created attachment 7466 [details]
Syslog fix: correct typing of debug_settings.syslog field
Setting "syslog only = yes" did not divert log messages to syslog. The test in lib/util/debug.c:Debug1():747
if( syslog_level < state.settings.syslog )
produces wrong results since .syslog is typed "bool" rather than "int".
The attached patch fixes this by typing this field correctly as "int".
Completely correct. I've pushed to master and will update with a git-am patch for 3.6.x.
Created attachment 7470 [details]
git-am fix for 3.6.x.
Obvious fix - already went into master. Volker please review for 3.6.next.
Re-assigning to Karolin for inclusion in 3.6.next.
Pushed to v3-6-test.
Closing out bug report.