smbdotconf: mark "logging" with substitution="1"
authorRalph Boehme <slow@samba.org>
Tue, 5 Nov 2019 09:36:53 +0000 (10:36 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Nov 2019 10:25:35 +0000 (10:25 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
docs-xml/smbdotconf/logging/logging.xml
lib/util/debug_s3.c

index b152d0c469e83f682418595992353f9d861a6cca..0ab2c1f131b317a1f98d6ba081d9e7f21d7c7907 100644 (file)
@@ -1,6 +1,7 @@
 <samba:parameter name="logging"
                  type="string"
                  context="G"
+                 substitution="1"
                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
 <description>
 
index 82e8ef7fa7d8d82ec47e9d3749423cf16ddb988f..e5d8033a240b2f1d67f02c2318defcefa37a99d0 100644 (file)
@@ -46,7 +46,7 @@ bool reopen_logs(void)
                debug_set_logfile(lp_logfile(talloc_tos(), lp_sub));
                debug_parse_levels(lp_log_level(talloc_tos()));
                debug_set_settings(&settings,
-                                  lp_logging(talloc_tos()),
+                                  lp_logging(talloc_tos(), lp_sub),
                                   lp_syslog(),
                                   lp_syslog_only());
        } else {