diff options
author | Matt Kangas <matt.kangas@mongodb.com> | 2014-10-27 23:04:19 -0400 |
---|---|---|
committer | Matt Kangas <matt.kangas@mongodb.com> | 2014-10-28 09:06:20 -0400 |
commit | b0e565aed756c31f682d486a7874f14a8a563e61 (patch) | |
tree | 171506c7f5077b38fff0764fc89c61a264c6b696 /src/mongo/db | |
parent | 1e5ccf29c485109c22338fda2c8c46bf1c600f87 (diff) | |
download | mongo-b0e565aed756c31f682d486a7874f14a8a563e61.tar.gz |
SERVER-15380 Tune MONGO_LOG_DEFAULT_COMPONENT declarations
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/concurrency/d_concurrency.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/dbcommands_generic.cpp | 2 | ||||
-rw-r--r-- | src/mongo/db/field_ref.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/matcher/expression.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/matcher/expression_array.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/matcher/expression_leaf.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/matcher/expression_parser.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/matcher/expression_parser_geo.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/matcher/expression_parser_tree.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/matcher/expression_tree.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/matcher/path.cpp | 3 | ||||
-rw-r--r-- | src/mongo/db/restapi.cpp | 2 |
12 files changed, 2 insertions, 32 deletions
diff --git a/src/mongo/db/concurrency/d_concurrency.cpp b/src/mongo/db/concurrency/d_concurrency.cpp index 89dc4c0b230..2aa3fd2b8e2 100644 --- a/src/mongo/db/concurrency/d_concurrency.cpp +++ b/src/mongo/db/concurrency/d_concurrency.cpp @@ -26,8 +26,6 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault - #include "mongo/platform/basic.h" #include "mongo/db/concurrency/d_concurrency.h" @@ -37,7 +35,6 @@ #include "mongo/db/namespace_string.h" #include "mongo/db/server_parameters.h" #include "mongo/util/assert_util.h" -#include "mongo/util/log.h" #include "mongo/util/mongoutils/str.h" #include "mongo/util/stacktrace.h" diff --git a/src/mongo/db/dbcommands_generic.cpp b/src/mongo/db/dbcommands_generic.cpp index 079e816c61c..8c37429a51a 100644 --- a/src/mongo/db/dbcommands_generic.cpp +++ b/src/mongo/db/dbcommands_generic.cpp @@ -28,7 +28,7 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault +#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kCommands #include "mongo/pch.h" diff --git a/src/mongo/db/field_ref.cpp b/src/mongo/db/field_ref.cpp index 840a62cdc7b..af820cc72f4 100644 --- a/src/mongo/db/field_ref.cpp +++ b/src/mongo/db/field_ref.cpp @@ -26,13 +26,10 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault - #include "mongo/db/field_ref.h" #include <algorithm> // for min -#include "mongo/util/log.h" #include "mongo/util/assert_util.h" namespace mongo { diff --git a/src/mongo/db/matcher/expression.cpp b/src/mongo/db/matcher/expression.cpp index 8d6034907c9..098c049c6e8 100644 --- a/src/mongo/db/matcher/expression.cpp +++ b/src/mongo/db/matcher/expression.cpp @@ -28,14 +28,11 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault - #include "mongo/db/matcher/expression.h" #include "mongo/bson/bsonobjiterator.h" #include "mongo/bson/bsonobj.h" #include "mongo/bson/bsonmisc.h" -#include "mongo/util/log.h" namespace mongo { diff --git a/src/mongo/db/matcher/expression_array.cpp b/src/mongo/db/matcher/expression_array.cpp index cdd61601c43..76990758ba8 100644 --- a/src/mongo/db/matcher/expression_array.cpp +++ b/src/mongo/db/matcher/expression_array.cpp @@ -28,13 +28,10 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault - #include "mongo/db/matcher/expression_array.h" #include "mongo/db/field_ref.h" #include "mongo/db/jsobj.h" -#include "mongo/util/log.h" namespace mongo { diff --git a/src/mongo/db/matcher/expression_leaf.cpp b/src/mongo/db/matcher/expression_leaf.cpp index 38a82c79be5..22ad65ebbca 100644 --- a/src/mongo/db/matcher/expression_leaf.cpp +++ b/src/mongo/db/matcher/expression_leaf.cpp @@ -28,8 +28,6 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault - #include "mongo/db/matcher/expression_leaf.h" #include <pcrecpp.h> @@ -40,7 +38,6 @@ #include "mongo/db/field_ref.h" #include "mongo/db/jsobj.h" #include "mongo/db/matcher/path.h" -#include "mongo/util/log.h" namespace mongo { diff --git a/src/mongo/db/matcher/expression_parser.cpp b/src/mongo/db/matcher/expression_parser.cpp index 66deea50ec9..cbf7c5e64cc 100644 --- a/src/mongo/db/matcher/expression_parser.cpp +++ b/src/mongo/db/matcher/expression_parser.cpp @@ -28,8 +28,6 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault - #include "mongo/db/matcher/expression_parser.h" #include "mongo/bson/bsonmisc.h" @@ -39,7 +37,6 @@ #include "mongo/db/matcher/expression_array.h" #include "mongo/db/matcher/expression_leaf.h" #include "mongo/db/matcher/expression_tree.h" -#include "mongo/util/log.h" #include "mongo/util/mongoutils/str.h" diff --git a/src/mongo/db/matcher/expression_parser_geo.cpp b/src/mongo/db/matcher/expression_parser_geo.cpp index 50fb4f8eb89..346b7a148d4 100644 --- a/src/mongo/db/matcher/expression_parser_geo.cpp +++ b/src/mongo/db/matcher/expression_parser_geo.cpp @@ -28,14 +28,11 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault - #include "mongo/db/matcher/expression_parser.h" #include "mongo/base/init.h" #include "mongo/db/jsobj.h" #include "mongo/db/matcher/expression_geo.h" -#include "mongo/util/log.h" #include "mongo/util/mongoutils/str.h" namespace mongo { diff --git a/src/mongo/db/matcher/expression_parser_tree.cpp b/src/mongo/db/matcher/expression_parser_tree.cpp index 617cc3c0337..27b2ff247a6 100644 --- a/src/mongo/db/matcher/expression_parser_tree.cpp +++ b/src/mongo/db/matcher/expression_parser_tree.cpp @@ -28,8 +28,6 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault - #include "mongo/db/matcher/expression_parser.h" #include "mongo/bson/bsonobj.h" @@ -38,7 +36,6 @@ #include "mongo/db/matcher/expression_array.h" #include "mongo/db/matcher/expression_leaf.h" #include "mongo/db/matcher/expression_tree.h" -#include "mongo/util/log.h" #include "mongo/util/mongoutils/str.h" namespace mongo { diff --git a/src/mongo/db/matcher/expression_tree.cpp b/src/mongo/db/matcher/expression_tree.cpp index dabc70a7ad8..7c63d93ead2 100644 --- a/src/mongo/db/matcher/expression_tree.cpp +++ b/src/mongo/db/matcher/expression_tree.cpp @@ -28,15 +28,12 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault - #include "mongo/db/matcher/expression_tree.h" #include "mongo/bson/bsonobj.h" #include "mongo/bson/bsonmisc.h" #include "mongo/bson/bsonobjbuilder.h" #include "mongo/bson/bsonobjiterator.h" -#include "mongo/util/log.h" namespace mongo { diff --git a/src/mongo/db/matcher/path.cpp b/src/mongo/db/matcher/path.cpp index ce9c9fcbeec..de6004f65d2 100644 --- a/src/mongo/db/matcher/path.cpp +++ b/src/mongo/db/matcher/path.cpp @@ -28,13 +28,10 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault - #include "mongo/pch.h" #include "mongo/db/jsobj.h" #include "mongo/db/matcher/path_internal.h" #include "mongo/db/matcher/path.h" -#include "mongo/util/log.h" namespace mongo { diff --git a/src/mongo/db/restapi.cpp b/src/mongo/db/restapi.cpp index e19a2c74ce8..a50e0424612 100644 --- a/src/mongo/db/restapi.cpp +++ b/src/mongo/db/restapi.cpp @@ -29,7 +29,7 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault +#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kNetworking #include "mongo/pch.h" |