s3/testparm: Reduce debug level to 1
authorAnoop C S <anoopcs@redhat.com>
Fri, 23 Nov 2018 08:41:45 +0000 (14:11 +0530)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 29 Nov 2018 10:52:22 +0000 (11:52 +0100)
Adhere to what we document in manual page for testparm that default
debug level is set to reasonable value 1.

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Nov 29 11:52:22 CET 2018 on sn-devel-144

source3/utils/testparm.c

index 88dfc42d492b728361b55c63b08d4c94d457547d..7da2fa6976563ec98f200dcfb6281898b7ba6ce8 100644 (file)
@@ -666,11 +666,11 @@ static void do_per_share_checks(int s)
 
        smb_init_locale();
        /*
-        * Set the default debug level to 2.
+        * Set the default debug level to 1.
         * Allow it to be overridden by the command line,
         * not by smb.conf.
         */
-       lp_set_cmdline("log level", "2");
+       lp_set_cmdline("log level", "1");
 
        pc = poptGetContext(NULL, argc, argv, long_options,
                            POPT_CONTEXT_KEEP_FIRST);