summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbynn <bynn.lee@mongodb.com>2020-06-18 15:01:53 +0000
committerbynn <bynn.lee@mongodb.com>2020-06-18 15:01:53 +0000
commit8d4553db02b8124b0c573daa8d5be2a424a137da (patch)
treec580bb8c0dff67191796239c83fd79742cd7a4ee
parent728a6e9d5d70885314e1e54619b6caffd1498999 (diff)
downloadmongo-8d4553db02b8124b0c573daa8d5be2a424a137da.tar.gz
removed all references to kControl in LOGV2_OPTIONS
-rw-r--r--src/mongo/db/mongod_main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/mongod_main.cpp b/src/mongo/db/mongod_main.cpp
index c8d46c6eda1..b685125beac 100644
--- a/src/mongo/db/mongod_main.cpp
+++ b/src/mongo/db/mongod_main.cpp
@@ -326,7 +326,7 @@ ExitCode _initAndListen(ServiceContext* serviceContext, int listenPort) {
}
if (kDebugBuild)
- LOGV2_OPTIONS(20533, {LogComponent::kControl}, "DEBUG build (which is slower)");
+ LOGV2(20533, "DEBUG build (which is slower)");
#if defined(_WIN32)
VersionInfoInterface::instance().logTargetMinOS();
@@ -1101,7 +1101,7 @@ void shutdownTask(const ShutdownTaskArgs& shutdownArgs) {
// Join the logical session cache before the transport layer.
if (auto lsc = LogicalSessionCache::get(serviceContext)) {
- LOGV2_OPTIONS(4784903, {LogComponent::kControl}, "Shutting down the LogicalSessionCache");
+ LOGV2(4784903, "Shutting down the LogicalSessionCache");
lsc->joinOnShutDown();
}
@@ -1276,7 +1276,7 @@ void shutdownTask(const ShutdownTaskArgs& shutdownArgs) {
}
#endif
- LOGV2_OPTIONS(4784925, {LogComponent::kControl}, "Shutting down free monitoring");
+ LOGV2(4784925, "Shutting down free monitoring");
stopFreeMonitoring();
// Shutdown Full-Time Data Capture
@@ -1310,7 +1310,7 @@ void shutdownTask(const ShutdownTaskArgs& shutdownArgs) {
LOGV2_OPTIONS(4784931, {LogComponent::kDefault}, "Dropping the scope cache for shutdown");
ScriptEngine::dropScopeCache();
- LOGV2_OPTIONS(20565, {LogComponent::kControl}, "Now exiting");
+ LOGV2(20565, "Now exiting");
audit::logShutdown(client);