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