diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2020-03-22 20:33:03 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-23 00:49:46 +0000 |
commit | 79a8452b2a813b796059e5eab6c18f685283ce08 (patch) | |
tree | bd5012bda9b1561f741c46bfadc7363837ad3d0e /src/mongo/s/mongos_options.cpp | |
parent | c91a2f5932ac08ca28b25ce11b8ac4949552e271 (diff) | |
download | mongo-79a8452b2a813b796059e5eab6c18f685283ce08.tar.gz |
Revert "SERVER-46765 fix '--version' & '--sysinfo', which use kPlain logging"
This reverts commit cddfeb0c7cb137d46b14da18a7cfd4905bfab87f.
Diffstat (limited to 'src/mongo/s/mongos_options.cpp')
-rw-r--r-- | src/mongo/s/mongos_options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/mongos_options.cpp b/src/mongo/s/mongos_options.cpp index e706a0c2af0..f77696af1fe 100644 --- a/src/mongo/s/mongos_options.cpp +++ b/src/mongo/s/mongos_options.cpp @@ -64,7 +64,7 @@ bool handlePreValidationMongosOptions(const moe::Environment& params, return false; } if (params.count("version") && params["version"].as<bool>() == true) { - logShardingVersionInfo(&std::cout); + printShardingVersionInfo(true); return false; } if (params.count("test") && params["test"].as<bool>() == true) { |