summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/sync.cpp')
-rw-r--r--src/mongo/db/repl/sync.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/sync.cpp b/src/mongo/db/repl/sync.cpp
index 93647531919..9999774d1d7 100644
--- a/src/mongo/db/repl/sync.cpp
+++ b/src/mongo/db/repl/sync.cpp
@@ -26,6 +26,8 @@
* it in the license file.
*/
+#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kReplication
+
#include "mongo/platform/basic.h"
#include "mongo/db/repl/sync.h"
@@ -43,8 +45,6 @@
namespace mongo {
- MONGO_LOG_DEFAULT_COMPONENT_FILE(::mongo::logger::LogComponent::kReplication);
-
namespace repl {
void Sync::setHostname(const string& hostname) {