summaryrefslogtreecommitdiff
path: root/src/mongo/s/server.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-03-22 22:32:49 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-23 13:31:33 +0000
commit2e58eb2e8a79c4fb4d12465616fa89ab498eb05c (patch)
tree73bba1b90f30d2446c9c6390f3215de501669318 /src/mongo/s/server.cpp
parent5846d4b66cf0adb154dbe89c696a750bc0a1082c (diff)
downloadmongo-2e58eb2e8a79c4fb4d12465616fa89ab498eb05c.tar.gz
SERVER-46765 fix '--version' & '--sysinfo', which use kPlain logging
This reverts commit 79a8452b2a813b796059e5eab6c18f685283ce08. with new spot fix: printCommandLineOpts when sending to log
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r--src/mongo/s/server.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp
index 7a017eaabd8..04600263475 100644
--- a/src/mongo/s/server.cpp
+++ b/src/mongo/s/server.cpp
@@ -540,7 +540,8 @@ private:
ExitCode runMongosServer(ServiceContext* serviceContext) {
ThreadClient tc("mongosMain", serviceContext);
- printShardingVersionInfo(false);
+
+ logShardingVersionInfo(nullptr);
initWireSpec();