summaryrefslogtreecommitdiff
path: root/src/mongo/db/restapi.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/db/restapi.cpp
parentb51d7e60c5eecc22f72727610459c009ffaac2b0 (diff)
downloadmongo-a3d8e9a0c447c40aff9eb7fcbd94119737dc971c.tar.gz
SERVER-15592 set default log component for all cpp
Diffstat (limited to 'src/mongo/db/restapi.cpp')
-rw-r--r--src/mongo/db/restapi.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/restapi.cpp b/src/mongo/db/restapi.cpp
index 931de5fff9e..e19a2c74ce8 100644
--- a/src/mongo/db/restapi.cpp
+++ b/src/mongo/db/restapi.cpp
@@ -29,6 +29,8 @@
* it in the license file.
*/
+#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault
+
#include "mongo/pch.h"
#include "mongo/db/restapi.h"