diff options
author | samanca <amirsaman.memaripour@mongodb.com> | 2020-04-01 13:52:59 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-01 20:05:43 +0000 |
commit | 777f54aab1b1fd9b2db1f416a28755b31e1a4662 (patch) | |
tree | 7b8d39123c69804ca913b600ee5f59b70e5670ba /src/mongo/db/server_options_server_helpers.cpp | |
parent | 9d92dcf68cd671686d6d9d02bc079dae2fa12631 (diff) | |
download | mongo-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.cpp | 5 |
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); } } |