From 4d7eaed58600342f618a3ea0307208dff0591ad0 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Tue, 5 Nov 2019 10:50:32 +0100 Subject: [PATCH] smbdotconf: mark "log level" with substitution="1" Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- docs-xml/smbdotconf/logging/loglevel.xml | 1 + lib/util/debug_s3.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs-xml/smbdotconf/logging/loglevel.xml b/docs-xml/smbdotconf/logging/loglevel.xml index d3bed8a939b..273765c6fbe 100644 --- a/docs-xml/smbdotconf/logging/loglevel.xml +++ b/docs-xml/smbdotconf/logging/loglevel.xml @@ -2,6 +2,7 @@ type="string" context="G" handler="handle_debug_list" + substitution="1" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> debuglevel diff --git a/lib/util/debug_s3.c b/lib/util/debug_s3.c index e5d8033a240..151227c3419 100644 --- a/lib/util/debug_s3.c +++ b/lib/util/debug_s3.c @@ -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(), -- 2.47.3