summaryrefslogtreecommitdiff
path: root/src/mongo/db/fts
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/fts
parentb51d7e60c5eecc22f72727610459c009ffaac2b0 (diff)
downloadmongo-a3d8e9a0c447c40aff9eb7fcbd94119737dc971c.tar.gz
SERVER-15592 set default log component for all cpp
Diffstat (limited to 'src/mongo/db/fts')
-rw-r--r--src/mongo/db/fts/fts_command.cpp2
-rw-r--r--src/mongo/db/fts/fts_enabled.cpp2
-rw-r--r--src/mongo/db/fts/fts_index_format_test.cpp1
3 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/fts/fts_command.cpp b/src/mongo/db/fts/fts_command.cpp
index 21a7e86fc6c..72a56b3e29c 100644
--- a/src/mongo/db/fts/fts_command.cpp
+++ b/src/mongo/db/fts/fts_command.cpp
@@ -28,6 +28,8 @@
* it in the license file.
*/
+#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kCommands
+
#include <string>
#include <vector>
diff --git a/src/mongo/db/fts/fts_enabled.cpp b/src/mongo/db/fts/fts_enabled.cpp
index 0d20f0eb039..5017599b66e 100644
--- a/src/mongo/db/fts/fts_enabled.cpp
+++ b/src/mongo/db/fts/fts_enabled.cpp
@@ -28,6 +28,8 @@
* it in the license file.
*/
+#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kCommands
+
#include "mongo/db/server_parameters.h"
#include "mongo/util/log.h"
diff --git a/src/mongo/db/fts/fts_index_format_test.cpp b/src/mongo/db/fts/fts_index_format_test.cpp
index ee7d8f7208d..760eff165fe 100644
--- a/src/mongo/db/fts/fts_index_format_test.cpp
+++ b/src/mongo/db/fts/fts_index_format_test.cpp
@@ -28,6 +28,7 @@
* it in the license file.
*/
+#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault
#include "mongo/pch.h"