Skip to content

Commit 564ca18

Browse files
authored
update CELERYD_HIJACK_ROOT_LOGGER to CELERY_WORKER_HIJACK_ROOT_LOGGER (cookiecutter#5643)
CELERYD_HIJACK_ROOT_LOGGER was the name of the setting in celery v3
1 parent fbf6c88 commit 564ca18

File tree

1 file changed

+2
-2
lines changed
  • {{cookiecutter.project_slug}}/config/settings

1 file changed

+2
-2
lines changed

Diff for: {{cookiecutter.project_slug}}/config/settings/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@
327327
CELERY_WORKER_SEND_TASK_EVENTS = True
328328
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#std-setting-task_send_sent_event
329329
CELERY_TASK_SEND_SENT_EVENT = True
330-
# https://cheat.readthedocs.io/en/latest/django/celery.html
331-
CELERYD_HIJACK_ROOT_LOGGER = False
330+
# https://docs.celeryq.dev/en/stable/userguide/configuration.html#worker-hijack-root-logger
331+
CELERY_WORKER_HIJACK_ROOT_LOGGER = False
332332

333333
{%- endif %}
334334
# django-allauth

0 commit comments

Comments
 (0)