summaryrefslogtreecommitdiff
path: root/source3/utils/testparm.c
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2018-11-23 14:11:45 +0530
committerAndreas Schneider <asn@cryptomilk.org>2018-11-29 11:52:22 +0100
commite99402235da3ab0ea77f0a68393294088939ab78 (patch)
tree98b7978ee92b5a3d8f850fd251454af0522a5846 /source3/utils/testparm.c
parentdbbf978ae062b49504d257a5e8c247c7f135d4db (diff)
downloadsamba-e99402235da3ab0ea77f0a68393294088939ab78.tar.gz
s3/testparm: Reduce debug level to 1
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
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r--source3/utils/testparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index 88dfc42d492..7da2fa69765 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -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);