summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2019-11-05 10:34:11 +0100
committerStefan Metzmacher <metze@samba.org>2019-11-27 10:25:35 +0000
commitfa5033cfb7e9b65c23fe2c0c391c59b70d8415c3 (patch)
tree81abe1953d7a33abaf2323f31b2c0c0d6c22434b /lib
parentf2a1f0c705bc2e1f0400e23892fde45de00032b4 (diff)
downloadsamba-fa5033cfb7e9b65c23fe2c0c391c59b70d8415c3.tar.gz
smbdotconf: mark "logfile" with substitution="1"
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/util/debug_s3.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/util/debug_s3.c b/lib/util/debug_s3.c
index 5384ac1718a..82e8ef7fa7d 100644
--- a/lib/util/debug_s3.c
+++ b/lib/util/debug_s3.c
@@ -40,8 +40,10 @@ bool reopen_logs(void)
.debug_uid = lp_debug_uid(),
.debug_class = lp_debug_class(),
};
+ const struct loadparm_substitution *lp_sub =
+ loadparm_s3_global_substitution();
- debug_set_logfile(lp_logfile(talloc_tos()));
+ 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()),