summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/bgsync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/bgsync.cpp')
-rw-r--r--src/mongo/db/repl/bgsync.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/bgsync.cpp b/src/mongo/db/repl/bgsync.cpp
index eed57307446..f8c395e66ab 100644
--- a/src/mongo/db/repl/bgsync.cpp
+++ b/src/mongo/db/repl/bgsync.cpp
@@ -27,7 +27,7 @@
* it in the license file.
*/
-#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kReplication
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kReplication
#include "mongo/platform/basic.h"
@@ -530,7 +530,7 @@ void BackgroundSync::_produce() {
const auto logLevel = getTestCommandsEnabled() ? 0 : 1;
LOGV2_DEBUG(21092,
- logSeverityV1toV2(logLevel).toInt(),
+ logLevel,
"scheduling fetcher to read remote oplog on {syncSource} starting at "
"{lastOpTimeFetched}",
"Scheduling fetcher to read remote oplog",