summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/database_holder.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2014-08-08 11:08:17 -0400
committerBenety Goh <benety@mongodb.com>2014-08-12 18:56:41 -0400
commit8a523f3bfd6e32cb6882d38e4eeff6adb6ea27c1 (patch)
treed934dad83af8d8564f98732d26eeb0a69404e361 /src/mongo/db/catalog/database_holder.cpp
parent850d2d0912e519e544f0c896583a6fbd5cceabce (diff)
downloadmongo-8a523f3bfd6e32cb6882d38e4eeff6adb6ea27c1.tar.gz
SERVER-14729 assign default log component MONGO_LOG_DEFAULT_COMPONENT
Diffstat (limited to 'src/mongo/db/catalog/database_holder.cpp')
-rw-r--r--src/mongo/db/catalog/database_holder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/database_holder.cpp b/src/mongo/db/catalog/database_holder.cpp
index 9e19275a7bf..12ee303a6e8 100644
--- a/src/mongo/db/catalog/database_holder.cpp
+++ b/src/mongo/db/catalog/database_holder.cpp
@@ -28,6 +28,8 @@
* it in the license file.
*/
+#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kStorage
+
#include "mongo/platform/basic.h"
#include "mongo/db/auth/auth_index_d.h"
@@ -46,8 +48,6 @@
namespace mongo {
- MONGO_LOG_DEFAULT_COMPONENT_FILE(::mongo::logger::LogComponent::kStorage);
-
static DatabaseHolder _dbHolder;
DatabaseHolder& dbHolder() {