svn commit: samba r23226 - in branches: SAMBA_3_0/source/lib SAMBA_3_0_26/source/lib

vlendec at samba.org vlendec at samba.org
Tue May 29 19:36:16 GMT 2007


Author: vlendec
Date: 2007-05-29 19:36:13 +0000 (Tue, 29 May 2007)
New Revision: 23226

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

Log:
Make the "debug prefix timestamp" output a bit more readable by making
the debug level alway at least 2 digits

Modified:
   branches/SAMBA_3_0/source/lib/debug.c
   branches/SAMBA_3_0_26/source/lib/debug.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/debug.c
===================================================================
--- branches/SAMBA_3_0/source/lib/debug.c	2007-05-29 19:31:57 UTC (rev 23225)
+++ branches/SAMBA_3_0/source/lib/debug.c	2007-05-29 19:36:13 UTC (rev 23226)
@@ -979,7 +979,7 @@
   
 		/* Print it all out at once to prevent split syslog output. */
 		if( lp_debug_prefix_timestamp() ) {
-		    (void)Debug1( "[%s, %d%s] ",
+		    (void)Debug1( "[%s, %2d%s] ",
 			current_timestring(lp_debug_hires_timestamp()), level,
 			header_str);
 		} else {

Modified: branches/SAMBA_3_0_26/source/lib/debug.c
===================================================================
--- branches/SAMBA_3_0_26/source/lib/debug.c	2007-05-29 19:31:57 UTC (rev 23225)
+++ branches/SAMBA_3_0_26/source/lib/debug.c	2007-05-29 19:36:13 UTC (rev 23226)
@@ -979,7 +979,7 @@
   
 		/* Print it all out at once to prevent split syslog output. */
 		if( lp_debug_prefix_timestamp() ) {
-		    (void)Debug1( "[%s, %d%s] ",
+		    (void)Debug1( "[%s, %2d%s] ",
 			current_timestring(lp_debug_hires_timestamp()), level,
 			header_str);
 		} else {



More information about the samba-cvs mailing list