From aa46ef13c5ea9961a90f93feb2fc92b114f4b0d6 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Thu, 31 Oct 2024 14:11:29 -0700 Subject: [PATCH] Update logic for markus logging --- bedrock/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bedrock/settings/base.py b/bedrock/settings/base.py index 4d5b46c905..66ba462e7f 100644 --- a/bedrock/settings/base.py +++ b/bedrock/settings/base.py @@ -1188,7 +1188,7 @@ if SENTRY_DSN: SENTRY_FRONTEND_DSN = config("SENTRY_FRONTEND_DSN", default=SENTRY_DSN) # Statsd metrics via markus -if DEBUG and not config("DISABLE_LOCAL_MARKUS", default="False", parser=bool): +if DEBUG or config("DISABLE_LOCAL_MARKUS", default="false", parser=bool): MARKUS_BACKENDS = [ {"class": "markus.backends.logging.LoggingMetrics", "options": {"logger_name": "metrics"}}, ]