summaryrefslogtreecommitdiff
path: root/src/mongo/s/collection_metadata.cpp
diff options
context:
space:
mode:
authorMatt Kangas <matt.kangas@mongodb.com>2014-10-14 00:06:21 -0400
committerMatt Kangas <matt.kangas@mongodb.com>2014-10-14 13:42:51 -0400
commita3d8e9a0c447c40aff9eb7fcbd94119737dc971c (patch)
treee0d4989e2a975720fb353fff63d8ff81ffe6e8aa /src/mongo/s/collection_metadata.cpp
parentb51d7e60c5eecc22f72727610459c009ffaac2b0 (diff)
downloadmongo-a3d8e9a0c447c40aff9eb7fcbd94119737dc971c.tar.gz
SERVER-15592 set default log component for all cpp
Diffstat (limited to 'src/mongo/s/collection_metadata.cpp')
-rw-r--r--src/mongo/s/collection_metadata.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/collection_metadata.cpp b/src/mongo/s/collection_metadata.cpp
index 460c65d21c4..8f1fd4162ca 100644
--- a/src/mongo/s/collection_metadata.cpp
+++ b/src/mongo/s/collection_metadata.cpp
@@ -26,6 +26,8 @@
* then also delete it in the license file.
*/
+#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kSharding
+
#include "mongo/s/collection_metadata.h"
#include "mongo/bson/util/builder.h" // for StringBuilder