mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
debug: Fix default log levels
According to man smb.conf, the log level with the "logging=" parameter is separated by @, not :. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org> Autobuild-User(master): Christof Schmitt <cs@samba.org> Autobuild-Date(master): Thu Jun 4 01:01:35 CEST 2015 on sn-devel-104
This commit is contained in:
parent
d5065ed2f4
commit
2f2cdaf644
@ -783,10 +783,10 @@ void debug_set_settings(struct debug_settings *settings,
|
||||
if (len == 0) {
|
||||
if (syslog_only) {
|
||||
snprintf(fake_param, sizeof(fake_param),
|
||||
"syslog:%d", syslog_level - 1);
|
||||
"syslog@%d", syslog_level - 1);
|
||||
} else {
|
||||
snprintf(fake_param, sizeof(fake_param),
|
||||
"syslog:%d file:%d", syslog_level -1,
|
||||
"syslog@%d file@%d", syslog_level -1,
|
||||
MAX_DEBUG_LEVEL);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user