diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2022-05-05 21:27:32 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-06 00:08:12 +0000 |
commit | 330458e81f9baa3f936d639dc3edbe1a8c4c5a32 (patch) | |
tree | 276be3a42c0a9aaff01340157a6fddd80509d831 /src/mongo/tools | |
parent | 6bf7fbe9eefff52f49b0f7898c86d7bec4d5985a (diff) | |
download | mongo-330458e81f9baa3f936d639dc3edbe1a8c4c5a32.tar.gz |
SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes
Diffstat (limited to 'src/mongo/tools')
-rw-r--r-- | src/mongo/tools/bridge.cpp | 4 | ||||
-rw-r--r-- | src/mongo/tools/mongobridge_options.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/mongo/tools/bridge.cpp b/src/mongo/tools/bridge.cpp index 6150bb2f77b..f1a7b33a0df 100644 --- a/src/mongo/tools/bridge.cpp +++ b/src/mongo/tools/bridge.cpp @@ -27,7 +27,6 @@ * it in the license file. */ -#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kBridge #include "mongo/platform/basic.h" @@ -65,6 +64,9 @@ #include "mongo/util/time_support.h" #include "mongo/util/timer.h" +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kBridge + + namespace mongo { namespace { diff --git a/src/mongo/tools/mongobridge_options.cpp b/src/mongo/tools/mongobridge_options.cpp index 4432ba157f0..72dc1d0cf03 100644 --- a/src/mongo/tools/mongobridge_options.cpp +++ b/src/mongo/tools/mongobridge_options.cpp @@ -27,7 +27,6 @@ * it in the license file. */ -#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kBridge #include "mongo/tools/mongobridge_options.h" @@ -39,6 +38,9 @@ #include "mongo/platform/random.h" #include "mongo/util/options_parser/startup_options.h" +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kBridge + + namespace mongo { MongoBridgeGlobalParams mongoBridgeGlobalParams; |