summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Kleinman <samk@10gen.com>2015-04-01 14:38:37 -0400
committerRamon Fernandez <ramon.fernandez@mongodb.com>2015-04-20 14:07:01 -0400
commit5346a2f303ecea86efc2e1ff92720807beb66e11 (patch)
tree7ebc962ce0bdfb2444be587448f619d485babd29
parentc62eee2f4cc7a98f33ac81b7d21c2e94bebf2d55 (diff)
downloadmongo-5346a2f303ecea86efc2e1ff92720807beb66e11.tar.gz
SERVER-17835: fix complie for logging
(cherry picked from commit 3cf0c18aa2c56949fda47ab35570489d68965370)
-rw-r--r--src/mongo/db/pipeline/document_source_geo_near.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_geo_near.cpp b/src/mongo/db/pipeline/document_source_geo_near.cpp
index db1abf3d7ea..50072c993a2 100644
--- a/src/mongo/db/pipeline/document_source_geo_near.cpp
+++ b/src/mongo/db/pipeline/document_source_geo_near.cpp
@@ -26,10 +26,13 @@
* it in the license file.
*/
+#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kQuery
+
#include "mongo/platform/basic.h"
#include "mongo/db/pipeline/document_source.h"
#include "mongo/db/pipeline/document.h"
+#include "mongo/util/log.h"
namespace mongo {