From 3aeecce3771794068199f5ef032f598784c81dc2 Mon Sep 17 00:00:00 2001 From: TheBoatyMcBoatFace Date: Thu, 12 Oct 2023 15:20:36 -0400 Subject: [PATCH] Disable Sentry Logging Integration Signed-off-by: TheBoatyMcBoatFace --- app/utils/monitoring/sentry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/monitoring/sentry.py b/app/utils/monitoring/sentry.py index dad8fff..ce17528 100644 --- a/app/utils/monitoring/sentry.py +++ b/app/utils/monitoring/sentry.py @@ -2,7 +2,7 @@ import os from .logging import logger, LOG_LEVEL import sentry_sdk -from sentry_sdk.integrations.logging import LoggingIntegration +#from sentry_sdk.integrations.logging import LoggingIntegration from sentry_sdk.integrations.excepthook import ExcepthookIntegration from sentry_sdk.integrations.modules import ModulesIntegration from sentry_sdk.integrations.threading import ThreadingIntegration @@ -13,7 +13,7 @@ def configure_sentry(): sentry_sdk.init( dsn=os.getenv("SENTRY_DSN"), integrations=[ - LoggingIntegration(level=LOG_LEVEL), + # LoggingIntegration(level=LOG_LEVEL), ExcepthookIntegration(always_run=True), ModulesIntegration(), ThreadingIntegration(propagate_hub=True),