diff options
Diffstat (limited to 'src/mongo/client/sdam/topology_state_machine.cpp')
-rw-r--r-- | src/mongo/client/sdam/topology_state_machine.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/client/sdam/topology_state_machine.cpp b/src/mongo/client/sdam/topology_state_machine.cpp index 5c8cb94c954..ee2d4eaa80f 100644 --- a/src/mongo/client/sdam/topology_state_machine.cpp +++ b/src/mongo/client/sdam/topology_state_machine.cpp @@ -26,7 +26,6 @@ * exception statement from all source files in the program, then also delete * it in the license file. */ -#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork #include "mongo/client/sdam/topology_state_machine.h" @@ -37,6 +36,9 @@ #include "mongo/logv2/log.h" #include "mongo/util/fail_point.h" +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kNetwork + + namespace mongo::sdam { namespace { static constexpr auto kLogLevel = 0; |