Make log level of the server configurable in make test
authorMatthieu Patou <mat@matws.net>
Tue, 23 Nov 2010 20:47:36 +0000 (23:47 +0300)
committerMatthieu Patou <mat@samba.org>
Tue, 23 Nov 2010 21:36:37 +0000 (22:36 +0100)
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Nov 23 22:36:37 CET 2010 on sn-devel-104

selftest/target/Samba4.pm

index 4242b8659176ca5e79e3a0438ebb3ffc8ac070e2..3e42d034fa9c02c1a5274c2e9fc4cec2bfa01e8e 100644 (file)
@@ -482,7 +482,7 @@ sub provision_raw_prepare($$$$$$$$$$)
        $ctx->{password} = $password;
        $ctx->{kdc_ipv4} = $kdc_ipv4;
 
-       $ctx->{server_loglevel} = 1;
+       $ctx->{server_loglevel} =$ENV{SERVER_LOG_LEVEL} || 1;
        $ctx->{username} = "Administrator";
        $ctx->{domain} = $domain;
        $ctx->{realm} = uc($realm);