summaryrefslogtreecommitdiff
path: root/src/mongo/db/server_options_server_helpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/server_options_server_helpers.cpp')
-rw-r--r--src/mongo/db/server_options_server_helpers.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mongo/db/server_options_server_helpers.cpp b/src/mongo/db/server_options_server_helpers.cpp
index 0d237dfe7bd..878fa85a40f 100644
--- a/src/mongo/db/server_options_server_helpers.cpp
+++ b/src/mongo/db/server_options_server_helpers.cpp
@@ -37,12 +37,10 @@
#include <boost/algorithm/string/trim.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/operations.hpp>
-#include <fmt/format.h>
#include <ios>
#include <iostream>
#include "mongo/base/status.h"
-#include "mongo/bson/json.h"
#include "mongo/bson/util/builder.h"
#include "mongo/config.h"
#include "mongo/db/server_options.h"
@@ -115,14 +113,8 @@ Status setParsedOpts(const moe::Environment& params) {
}
} // namespace
-void printCommandLineOpts(std::ostream* os) {
- if (os) {
- *os << format(FMT_STRING("Options set by command line: {}"),
- tojson(serverGlobalParams.parsedOpts, ExtendedRelaxedV2_0_0, true))
- << std::endl;
- } else {
- LOGV2(21951, "Options set by command line", "options"_attr = serverGlobalParams.parsedOpts);
- }
+void printCommandLineOpts() {
+ LOGV2(21951, "Options set by command line", "options"_attr = serverGlobalParams.parsedOpts);
}
Status validateServerOptions(const moe::Environment& params) {