Skip to content

Commit

Permalink
Disable Sentry Logging Integration
Browse files Browse the repository at this point in the history
Signed-off-by: TheBoatyMcBoatFace <bentleyhensel@gmail.com>
  • Loading branch information
TheBoatyMcBoatFace committed Oct 12, 2023
1 parent 0605b94 commit 3aeecce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/utils/monitoring/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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),
Expand Down

0 comments on commit 3aeecce

Please sign in to comment.