diff options
Diffstat (limited to 'source3/winbindd/winbindd.c')
-rw-r--r-- | source3/winbindd/winbindd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index b8a9e16075..c831c94221 100644 --- a/source3/winbindd/winbindd.c +++ b/source3/winbindd/winbindd.c @@ -1217,7 +1217,11 @@ int main(int argc, char **argv, char **envp) SAFE_FREE(lfile); } } - setup_logging("winbindd", log_stdout); + if (log_stdout) { + setup_logging("winbindd", DEBUG_STDOUT); + } else { + setup_logging("winbindd", DEBUG_FILE); + } reopen_logs(); DEBUG(0,("winbindd version %s started.\n", samba_version_string())); |