Skip to content

Commit c61c32f

Browse files
committed
revert part of change for SERVER-6706 - we can't change log format
1 parent bf724ef commit c61c32f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/mongo/util/log.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,8 @@ namespace mongo {
315315
bufSize += 128;
316316

317317
BufBuilder b(bufSize);
318-
if ( !isSyslog ) {
319-
time_t_to_String( time(0) , b.grow(20) );
320-
}
318+
time_t_to_String( time(0) , b.grow(20) );
319+
321320
if (!threadName.empty()) {
322321
b.appendChar( '[' );
323322
b.appendStr( threadName , false );

0 commit comments

Comments
 (0)