diff options
author | Matt Kangas <matt.kangas@mongodb.com> | 2014-10-14 00:06:21 -0400 |
---|---|---|
committer | Matt Kangas <matt.kangas@mongodb.com> | 2014-10-14 13:42:51 -0400 |
commit | a3d8e9a0c447c40aff9eb7fcbd94119737dc971c (patch) | |
tree | e0d4989e2a975720fb353fff63d8ff81ffe6e8aa /src/mongo/db/stats | |
parent | b51d7e60c5eecc22f72727610459c009ffaac2b0 (diff) | |
download | mongo-a3d8e9a0c447c40aff9eb7fcbd94119737dc971c.tar.gz |
SERVER-15592 set default log component for all cpp
Diffstat (limited to 'src/mongo/db/stats')
-rw-r--r-- | src/mongo/db/stats/counters.cpp | 1 | ||||
-rw-r--r-- | src/mongo/db/stats/snapshots.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/stats/top.cpp | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/stats/counters.cpp b/src/mongo/db/stats/counters.cpp index a422116eafc..63f55db4267 100644 --- a/src/mongo/db/stats/counters.cpp +++ b/src/mongo/db/stats/counters.cpp @@ -27,6 +27,7 @@ * it in the license file. */ +#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault #include "mongo/pch.h" diff --git a/src/mongo/db/stats/snapshots.cpp b/src/mongo/db/stats/snapshots.cpp index d540bc558bb..159e2ccd0d9 100644 --- a/src/mongo/db/stats/snapshots.cpp +++ b/src/mongo/db/stats/snapshots.cpp @@ -28,6 +28,8 @@ * it in the license file. */ +#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault + #include "mongo/pch.h" #include "mongo/db/stats/snapshots.h" diff --git a/src/mongo/db/stats/top.cpp b/src/mongo/db/stats/top.cpp index 00d057a2973..db7337c73a6 100644 --- a/src/mongo/db/stats/top.cpp +++ b/src/mongo/db/stats/top.cpp @@ -27,6 +27,7 @@ * it in the license file. */ +#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault #include "mongo/pch.h" |