diff options
author | Günther Deschner <gd@samba.org> | 2007-01-26 15:58:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:28 -0500 |
commit | 4a5868f3ca240d796e1172030c383ed73016a54d (patch) | |
tree | 118cdd712cdffcc3288f27d35f2483cb7b9baeb4 | |
parent | 8751923635b93b0c53d7939e34fb8747e025ca59 (diff) | |
download | samba-4a5868f3ca240d796e1172030c383ed73016a54d.tar.gz samba-4a5868f3ca240d796e1172030c383ed73016a54d.tar.bz2 samba-4a5868f3ca240d796e1172030c383ed73016a54d.zip |
r21033: To make the logs a bit more readable let the winbind dc connect child
write to a separate logfile.
Guenther
(This used to be commit 0313edc0d66c26b5acb6250e0f146218a02b42cd)
-rw-r--r-- | source3/nsswitch/winbindd_cm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c index 79c260a308..2875e725e4 100644 --- a/source3/nsswitch/winbindd_cm.c +++ b/source3/nsswitch/winbindd_cm.c @@ -201,6 +201,9 @@ static BOOL fork_child_dc_connect(struct winbindd_domain *domain) close_conns_after_fork(); if (!override_logfile) { + pstring logfile; + pstr_sprintf(logfile, "%s/log.winbindd-dc-connect", dyn_LOGFILEBASE); + lp_set_logfile(logfile); reopen_logs(); } |