summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_ranker.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2014-06-27 10:15:15 -0400
committerBenety Goh <benety@mongodb.com>2014-07-01 15:32:29 -0400
commitf8c98bee1208e04259814e0818f405081132d42c (patch)
tree6859a21e564d965ae839975284122128179e5808 /src/mongo/db/query/plan_ranker.cpp
parent44c3347251e39b1a04717e02cec4a7ff626baf4e (diff)
downloadmongo-f8c98bee1208e04259814e0818f405081132d42c.tar.gz
SERVER-5092 assign default log component to server modules
Diffstat (limited to 'src/mongo/db/query/plan_ranker.cpp')
-rw-r--r--src/mongo/db/query/plan_ranker.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/query/plan_ranker.cpp b/src/mongo/db/query/plan_ranker.cpp
index e965562bc0b..9e65dec1d9f 100644
--- a/src/mongo/db/query/plan_ranker.cpp
+++ b/src/mongo/db/query/plan_ranker.cpp
@@ -26,6 +26,8 @@
* it in the license file.
*/
+#include "mongo/platform/basic.h"
+
#include <algorithm>
#include <math.h>
#include <vector>
@@ -41,6 +43,7 @@
#include "mongo/db/query/qlog.h"
#include "mongo/db/server_options.h"
#include "mongo/db/server_parameters.h"
+#include "mongo/util/log.h"
namespace {
@@ -58,6 +61,8 @@ namespace {
namespace mongo {
+ MONGO_LOG_DEFAULT_COMPONENT_FILE(::mongo::logger::LogComponent::kQuery);
+
using std::vector;
// static