diff options
author | Benety Goh <benety@mongodb.com> | 2014-06-27 10:15:15 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2014-07-01 15:32:29 -0400 |
commit | f8c98bee1208e04259814e0818f405081132d42c (patch) | |
tree | 6859a21e564d965ae839975284122128179e5808 /src/mongo/db/repl/bgsync.cpp | |
parent | 44c3347251e39b1a04717e02cec4a7ff626baf4e (diff) | |
download | mongo-f8c98bee1208e04259814e0818f405081132d42c.tar.gz |
SERVER-5092 assign default log component to server modules
Diffstat (limited to 'src/mongo/db/repl/bgsync.cpp')
-rw-r--r-- | src/mongo/db/repl/bgsync.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/repl/bgsync.cpp b/src/mongo/db/repl/bgsync.cpp index 0922a1cc5e2..c5fd835c650 100644 --- a/src/mongo/db/repl/bgsync.cpp +++ b/src/mongo/db/repl/bgsync.cpp @@ -26,7 +26,7 @@ * it in the license file. */ -#include "mongo/pch.h" +#include "mongo/platform/basic.h" #include "mongo/db/client.h" #include "mongo/db/commands/fsync.h" @@ -36,10 +36,14 @@ #include "mongo/db/repl/rs_sync.h" #include "mongo/db/repl/rs.h" #include "mongo/util/fail_point_service.h" +#include "mongo/util/log.h" #include "mongo/base/counter.h" #include "mongo/db/stats/timer_stats.h" namespace mongo { + + MONGO_LOG_DEFAULT_COMPONENT_FILE(::mongo::logger::LogComponent::kReplication); + namespace repl { int SleepToAllowBatchingMillis = 2; |