summaryrefslogtreecommitdiff
path: root/src/mongo/db/server_options_server_helpers.cpp
diff options
context:
space:
mode:
authorsamanca <amirsaman.memaripour@mongodb.com>2020-04-01 13:52:59 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-01 20:05:43 +0000
commit777f54aab1b1fd9b2db1f416a28755b31e1a4662 (patch)
tree7b8d39123c69804ca913b600ee5f59b70e5670ba /src/mongo/db/server_options_server_helpers.cpp
parent9d92dcf68cd671686d6d9d02bc079dae2fa12631 (diff)
downloadmongo-777f54aab1b1fd9b2db1f416a28755b31e1a4662.tar.gz
SERVER-47077 Clean up log lines in 'mongo/db'
Cleaning up log lines to adhere to the LOGV2 style guide.
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);
}
}