From c3a628e7a05f1374f3103643859f65ba35a50353 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 19 Oct 2024 02:25:32 -0400 Subject: [PATCH] surpress log from podcastparser --- boofilsic/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boofilsic/settings.py b/boofilsic/settings.py index 1047b79b..e645fb37 100644 --- a/boofilsic/settings.py +++ b/boofilsic/settings.py @@ -616,8 +616,11 @@ SENTRY_DSN = env("NEODB_SENTRY_DSN") if SENTRY_DSN: import sentry_sdk from sentry_sdk.integrations.django import DjangoIntegration + from sentry_sdk.integrations.logging import ignore_logger from sentry_sdk.integrations.loguru import LoguruIntegration + ignore_logger("podcastparser") + sentry_env = sys.argv[0].split("/")[-1] if len(sys.argv) > 1 and sentry_env in ("manage.py", "django-admin"): sentry_env = sys.argv[1]