summaryrefslogtreecommitdiff
path: root/source4/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nsswitch')
-rw-r--r--source4/nsswitch/winbindd.c2
-rw-r--r--source4/nsswitch/wins.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/nsswitch/winbindd.c b/source4/nsswitch/winbindd.c
index ad37768c09..23394f5e8c 100644
--- a/source4/nsswitch/winbindd.c
+++ b/source4/nsswitch/winbindd.c
@@ -892,7 +892,7 @@ static void usage(void)
snprintf(logfile, sizeof(logfile), "%s/log.winbindd", dyn_LOGFILEBASE);
lp_set_logfile(logfile);
- setup_logging("winbindd", log_stdout);
+ setup_logging("winbindd", log_stdout?DEBUG_STDOUT:DEBUG_FILE);
reopen_logs();
DEBUG(1, ("winbindd version %s started.\n", VERSION ) );
diff --git a/source4/nsswitch/wins.c b/source4/nsswitch/wins.c
index 187748d285..d5791d7af5 100644
--- a/source4/nsswitch/wins.c
+++ b/source4/nsswitch/wins.c
@@ -79,7 +79,7 @@ static void nss_wins_init(void)
AllowDebugChange = False;
TimeInit();
- setup_logging("nss_wins",False);
+ setup_logging("nss_wins",DEBUG_FILE);
lp_load(dyn_CONFIGFILE,True,False,False);
load_interfaces();
}