summaryrefslogtreecommitdiff
path: root/src/mongo/db/db.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/db/db.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/db/db.cpp')
-rw-r--r--src/mongo/db/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index b5588f4bbfe..2742b0666b0 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -326,7 +326,7 @@ ExitCode _initAndListen(ServiceContext* serviceContext, int listenPort) {
VersionInfoInterface::instance().logTargetMinOS();
#endif
- logProcessDetails();
+ logProcessDetails(nullptr);
serviceContext->setServiceEntryPoint(std::make_unique<ServiceEntryPointMongod>(serviceContext));