s4-debug: Start with DEBUG_DEFAULT_STDOUT, so we can log to a file in deamons
authorAndrew Bartlett <abartlet@samba.org>
Fri, 29 Jul 2011 02:10:39 +0000 (12:10 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 29 Jul 2011 02:24:06 +0000 (04:24 +0200)
In commit 3c9d01e3e58e2217915317406541ac8c6f6dcf92 I changed the priority order
and added DEBUG_DEFAULT_STDOUT, but did not check all the callers.

Andrew Bartlett

source4/lib/cmdline/popt_common.c

index af1e900092c519afee1f03c519b433d7c9482375..25b02b446d0ca94d9a5baf4923b9737f8c783ce8 100644 (file)
@@ -88,7 +88,7 @@ static void popt_samba_callback(poptContext con,
                fault_setup();
 
                /* and logging */
-               setup_logging(pname, DEBUG_STDOUT);
+               setup_logging(pname, DEBUG_DEFAULT_STDOUT);
                talloc_set_log_fn(popt_s4_talloc_log_fn);
                talloc_set_abort_fn(smb_panic);