1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

selftest: Also add SERVER_LOG_LEVEL support for s3 targets

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andreas Schneider 2021-05-10 12:32:51 +02:00 committed by Jeremy Allison
parent 401ae83d5e
commit 79b848fe59

View File

@ -1980,6 +1980,7 @@ sub provision($$)
my $resolv_conf = $args{resolv_conf};
my $no_delete_prefix= $args{no_delete_prefix};
my $netbios_name = $args{netbios_name} // $server;
my $server_log_level = $ENV{SERVER_LOG_LEVEL} || 1;
##
## setup the various environment variables we need
@ -2287,7 +2288,7 @@ sub provision($$)
pid directory = $piddir
lock directory = $lockdir
log file = $logdir/log.\%m
log level = 1
log level = $server_log_level
debug pid = yes
max log size = 0