summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2019-08-12 16:35:53 -0400
committerWilliam Schultz <william.schultz@mongodb.com>2019-09-04 11:50:12 -0400
commit41a74df493503fec4ce054cc380a0d7eb01d374c (patch)
tree737bce8a3e2087cb1d499808234646018c9d75f3
parent00664a874fb31909684f8e8c85c7091d4d8b7e8f (diff)
downloadmongo-41a74df493503fec4ce054cc380a0d7eb01d374c.tar.gz
SERVER-42714 Log completion of replication recovery oplog application at default level
(cherry picked from commit bb877832ca374ec380fd64c1570f16038dfc5b8f)
-rw-r--r--src/mongo/db/repl/replication_recovery.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/repl/replication_recovery.cpp b/src/mongo/db/repl/replication_recovery.cpp
index 5008430cd04..3b1f1ca9c87 100644
--- a/src/mongo/db/repl/replication_recovery.cpp
+++ b/src/mongo/db/repl/replication_recovery.cpp
@@ -87,9 +87,8 @@ public:
void onOperationConsumed(const BSONObj& op) final {}
void complete(const OpTime& applyThroughOpTime) const {
- LOG_FOR_RECOVERY(kRecoveryBatchLogLevel)
- << "Applied " << _numOpsApplied << " operations in " << _numBatches
- << " batches. Last operation applied with optime: " << applyThroughOpTime;
+ log() << "Applied " << _numOpsApplied << " operations in " << _numBatches
+ << " batches. Last operation applied with optime: " << applyThroughOpTime;
}
private: