summaryrefslogtreecommitdiff
path: root/src/mongo/db/server_options_server_helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/server_options_server_helpers.cpp')
-rw-r--r--src/mongo/db/server_options_server_helpers.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/server_options_server_helpers.cpp b/src/mongo/db/server_options_server_helpers.cpp
index 0d237dfe7bd..fdde1a49c1b 100644
--- a/src/mongo/db/server_options_server_helpers.cpp
+++ b/src/mongo/db/server_options_server_helpers.cpp
@@ -121,7 +121,10 @@ void printCommandLineOpts(std::ostream* os) {
tojson(serverGlobalParams.parsedOpts, ExtendedRelaxedV2_0_0, true))
<< std::endl;
} else {
- LOGV2(21951, "Options set by command line", "options"_attr = serverGlobalParams.parsedOpts);
+ LOGV2(21951,
+ "Options set by command line: {options}",
+ "Options set by command line",
+ "options"_attr = serverGlobalParams.parsedOpts);
}
}