smbdotconf: mark "log level" with substitution="1"
authorRalph Boehme <slow@samba.org>
Tue, 5 Nov 2019 09:50:32 +0000 (10:50 +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/loglevel.xml
lib/util/debug_s3.c

index d3bed8a939bf4587c97e93d615afe9bc4c0b1771..273765c6fbe010f3a10b863d850ef738c02a2ba3 100644 (file)
@@ -2,6 +2,7 @@
                  type="string"
                  context="G"
                  handler="handle_debug_list"
+                 substitution="1"
                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
 <synonym>debuglevel</synonym>
 <description>
index e5d8033a240b2f1d67f02c2318defcefa37a99d0..151227c34196ce38546e45f0f494282013bb8f0c 100644 (file)
@@ -44,7 +44,7 @@ bool reopen_logs(void)
                        loadparm_s3_global_substitution();
 
                debug_set_logfile(lp_logfile(talloc_tos(), lp_sub));
-               debug_parse_levels(lp_log_level(talloc_tos()));
+               debug_parse_levels(lp_log_level(talloc_tos(), lp_sub));
                debug_set_settings(&settings,
                                   lp_logging(talloc_tos(), lp_sub),
                                   lp_syslog(),