Skip to content

Make sentry ignore celery.receivers logger #226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025

Conversation

olzhasar-reef
Copy link
Contributor

The celery.receivers logger is used by celery for posting updates about task
state transitions. Thus, it will contain error log messages in case of task
failures. However, the exception that lead to the task failure is
already being reported to sentry, and the above mentioned logger leads
to duplicated error notifications in sentry.
to duplicate error messages.

The `celery.receivers` logger is used by celery for posting updates about task
state transitions. Thus, it will contain error log messages in case of task
failures. However, the exception that lead to the task failure is
already being reported to sentry, and the above mentioned logger leads
to duplicated error notifications in sentry.
to duplicate error messages.
@olzhasar-reef olzhasar-reef merged commit 01c8662 into master May 21, 2025
6 checks passed
@olzhasar-reef olzhasar-reef deleted the fix-sentry-double-error-logging branch May 21, 2025 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants