Skip to content
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

Fix logging configuration for Celery tasks #5563

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

pulse-mind
Copy link
Contributor

@pulse-mind pulse-mind commented Nov 29, 2024

Description

The goal is to have logs used in the class of the application when the class is used in a Celery Task.
The logs were not available on production using supervisor and stdout.

And because logs are so important.

See #5559

Checklist:

  • I've made sure that tests are updated accordingly (especially if adding or updating a template option)
  • I've updated the documentation or confirm that my change doesn't require any updates

Rationale

Use log of the application into Celery tasks
Fix I001 [*] Import block is un-sorted or un-formatted
@browniebroke browniebroke changed the title Fix #5559 Fix logging configuration for Celery tasks Jan 2, 2025
@browniebroke browniebroke merged commit 411e92c into cookiecutter:master Jan 2, 2025
14 checks passed
@browniebroke
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CELERY_WORKER_HIJACK_ROOT_LOGGER = False to default settings
2 participants