summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/shell_utils_launcher.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/shell/shell_utils_launcher.cpp b/src/mongo/shell/shell_utils_launcher.cpp
index a1c76870e36..f9025622ba7 100644
--- a/src/mongo/shell/shell_utils_launcher.cpp
+++ b/src/mongo/shell/shell_utils_launcher.cpp
@@ -251,7 +251,10 @@ void ProgramOutputMultiplexer::appendLine(int port,
std::ostringstream ss;
sinkProgramOutput(_buffer);
sinkProgramOutput(ss);
- LOGV2_OPTIONS(4615640, {logv2::LogTag::kPlainShell}, "{message}", "message"_attr = ss.str());
+ LOGV2_OPTIONS(4615640,
+ logv2::LogOptions(logv2::LogTag::kPlainShell, logv2::LogTruncation::Disabled),
+ "{message}",
+ "message"_attr = ss.str());
}
string ProgramOutputMultiplexer::str() const {