diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e0bafd..9af55cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,10 @@ and this project adheres to ## [Unreleased] +### Fixed + - 🔧(sentry) restore default integrations +- 🔇(backend) remove Sentry duplicated warning/errors - 👷(ci) add sharding e2e tests #467 ## [1.4.1] - 2024-10-23 diff --git a/src/backend/people/settings.py b/src/backend/people/settings.py index 1d1bbbf..05e551f 100755 --- a/src/backend/people/settings.py +++ b/src/backend/people/settings.py @@ -18,6 +18,7 @@ from django.utils.translation import gettext_lazy as _ import sentry_sdk from configurations import Configuration, values from sentry_sdk.integrations.django import DjangoIntegration +from sentry_sdk.integrations.logging import ignore_logger # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) @@ -492,6 +493,9 @@ class Base(Configuration): with sentry_sdk.configure_scope() as scope: scope.set_extra("application", "backend") + # Ignore the logs added by the DockerflowMiddleware + ignore_logger("request.summary") + class Build(Base): """Settings used when the application is built.