-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add child_task_id and child_task_name to task_revoked log #317
Comments
Thanks for pointing that out. The pre-release Since it is a pre-release you need to specify the version explicitly: pip install django-structlog==6.0.0.dev3 Let me know if it works as you expected. Take note the names are different than you requested. See: task-event-metadata I will release version 6.0.0 when python 3.12 will be officially out. |
I was expecting same keys on all logs to be able to automatise processing or filtering on them, but this solution is good aswell, thanks for the change |
Revoked task is done in a worker's perspective where the task being executed is revoked. (or never had the chance to start).
|
very clear, thanks for the explanation. |
To be able to know which task was revoked, it could be a good idea to bind child_task_id and child_task_name to task_revoked log
The text was updated successfully, but these errors were encountered: