smbstatus: Set internal log level to 0
authorChristof Schmitt <cs@samba.org>
Wed, 8 Jul 2015 22:15:38 +0000 (15:15 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 10 Jul 2015 04:33:07 +0000 (06:33 +0200)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/utils/status.c

index c11b4ee70ffe35f7e62d1165988984398a523274..a22d05be7bbcdb056a389b830cdfbbac84b8192a 100644 (file)
@@ -374,6 +374,7 @@ int main(int argc, const char *argv[])
        smb_init_locale();
 
        setup_logging(argv[0], DEBUG_STDERR);
+       lp_set_cmdline("log level", "0");
 
        if (getuid() != geteuid()) {
                d_printf("smbstatus should not be run setuid\n");