From 8d4553db02b8124b0c573daa8d5be2a424a137da Mon Sep 17 00:00:00 2001 From: bynn Date: Thu, 18 Jun 2020 15:01:53 +0000 Subject: removed all references to kControl in LOGV2_OPTIONS --- src/mongo/db/mongod_main.cpp | 8 ++++---- 1 file 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); -- cgit v1.2.1