summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/util/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/log.cpp b/src/mongo/util/log.cpp
index 4bafb18d952..43f32c76beb 100644
--- a/src/mongo/util/log.cpp
+++ b/src/mongo/util/log.cpp
@@ -55,7 +55,7 @@
namespace mongo {
-#if MONGO_CONFIG_LOGV2_BUILD
+#if defined(MONGO_CONFIG_LOGV2_DEFAULT)
static bool _logV2Enabled = true;
#else
static bool _logV2Enabled = false;