Bug 10096 - nmbd does not respect syslog options
Summary: nmbd does not respect syslog options
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.0.8
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
Depends on:
Reported: 2013-08-19 16:51 UTC by Jan Alexander Steffens (heftig)
Modified: 2023-06-15 05:59 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jan Alexander Steffens (heftig) 2013-08-19 16:51:51 UTC
I have the following options in smb.conf:

   log level = 1
   syslog = 4
   syslog only = yes

smbd respect these, logging to syslog after minimal output to log.smbd.

nmbd does not, and continues to log to log.nmbd.
Comment 1 Björn Jacke 2023-06-15 05:59:09 UTC
this bug is actually still valid with 4.18. However the syslog only parameter is deprecated and you should use "logging = file" instead of syslog only = yes these days. With that setting, logging to syslog will not be done. I'm closing this as WONTFIX now. The actual fix will be the removal of the syslog only parameter later on.