Skip to content

Commit 01c8662

Browse files
Merge pull request #226 from reef-technologies/fix-sentry-double-error-logging
Make sentry ignore celery.receivers logger
2 parents 50e0696 + 4e59a83 commit 01c8662

File tree

1 file changed

+1
-0
lines changed
  • {{cookiecutter.repostory_name}}/app/src/{{cookiecutter.django_project_name}}

1 file changed

+1
-0
lines changed

{{cookiecutter.repostory_name}}/app/src/{{cookiecutter.django_project_name}}/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ def configure_structlog():
495495
],
496496
)
497497
ignore_logger("django.security.DisallowedHost")
498+
ignore_logger("django_structlog.celery.receivers")
498499
{% if cookiecutter.use_allauth == "y" %}
499500
LOGIN_URL = reverse_lazy("account_login")
500501
LOGIN_REDIRECT_URL = "/"

0 commit comments

Comments
 (0)