mirror of
https://github.com/samba-team/samba.git
synced 2025-11-25 00:23:52 +03:00
r23226: Make the "debug prefix timestamp" output a bit more readable by making
the debug level alway at least 2 digits
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
f5d525399b
commit
94d2fd919c
@@ -979,7 +979,7 @@ BOOL dbghdr( int level, const char *file, const char *func, int line )
|
|||||||
|
|
||||||
/* Print it all out at once to prevent split syslog output. */
|
/* Print it all out at once to prevent split syslog output. */
|
||||||
if( lp_debug_prefix_timestamp() ) {
|
if( lp_debug_prefix_timestamp() ) {
|
||||||
(void)Debug1( "[%s, %d%s] ",
|
(void)Debug1( "[%s, %2d%s] ",
|
||||||
current_timestring(lp_debug_hires_timestamp()), level,
|
current_timestring(lp_debug_hires_timestamp()), level,
|
||||||
header_str);
|
header_str);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user