svn commit: samba r21033 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_24/source/nsswitch

gd at samba.org gd at samba.org
Fri Jan 26 15:58:10 GMT 2007


Author: gd
Date: 2007-01-26 15:58:10 +0000 (Fri, 26 Jan 2007)
New Revision: 21033

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21033

Log:
To make the logs a bit more readable let the winbind dc connect child
write to a separate logfile.

Guenther

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c
   branches/SAMBA_3_0_24/source/nsswitch/winbindd_cm.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c	2007-01-26 15:25:09 UTC (rev 21032)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c	2007-01-26 15:58:10 UTC (rev 21033)
@@ -201,6 +201,9 @@
 	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();
 	}
 

Modified: branches/SAMBA_3_0_24/source/nsswitch/winbindd_cm.c
===================================================================
--- branches/SAMBA_3_0_24/source/nsswitch/winbindd_cm.c	2007-01-26 15:25:09 UTC (rev 21032)
+++ branches/SAMBA_3_0_24/source/nsswitch/winbindd_cm.c	2007-01-26 15:58:10 UTC (rev 21033)
@@ -201,6 +201,9 @@
 	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();
 	}
 



More information about the samba-cvs mailing list