diff options
Diffstat (limited to 'src/mongo/util/log.cpp')
-rw-r--r-- | src/mongo/util/log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/log.cpp b/src/mongo/util/log.cpp index 20f5e9fba51..980bb6a5490 100644 --- a/src/mongo/util/log.cpp +++ b/src/mongo/util/log.cpp @@ -336,10 +336,10 @@ namespace mongo { stringstream sss; sss << "warning: log line attempted (" << msg.size() / 1024 << "k) over max size(" << MAX_LOG_LINE / 1024 << "k)"; sss << ", printing beginning and end ... "; - b.appendStr( sss.str() ); + b.appendStr( sss.str(), false ); const char * xx = msg.c_str(); b.appendBuf( xx , MAX_LOG_LINE / 3 ); - b.appendStr( " .......... " ); + b.appendStr( " .......... ", false ); b.appendStr( xx + msg.size() - ( MAX_LOG_LINE / 3 ) ); } else { |