summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-06-03 14:34:31 +0000
committerChristof Schmitt <cs@samba.org>2015-06-04 01:01:34 +0200
commit2f2cdaf644337ef577de8044f1c223203d87141b (patch)
tree1db336de10757dedcb423e27846dd3f3fd88744f /lib
parentd5065ed2f4c6d9f4539297e9794a2b02adec4d12 (diff)
downloadsamba-2f2cdaf644337ef577de8044f1c223203d87141b.tar.gz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/util/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 81d0cf6a848..44338c5121f 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -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);
}