summaryrefslogtreecommitdiff
path: root/src/mongo/logv2/logv2_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/logv2/logv2_options.cpp')
-rw-r--r--src/mongo/logv2/logv2_options.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/logv2/logv2_options.cpp b/src/mongo/logv2/logv2_options.cpp
index 05b786e8878..44cab60c1ff 100644
--- a/src/mongo/logv2/logv2_options.cpp
+++ b/src/mongo/logv2/logv2_options.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::kControl
#include "mongo/platform/basic.h"
@@ -37,6 +36,9 @@
#include "mongo/util/options_parser/startup_option_init.h"
#include "mongo/util/options_parser/startup_options.h"
+#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kControl
+
+
namespace mongo {
void RedactEncryptedFields::append(OperationContext* opCtx,