Replies: 1 comment
-
I'd like to see this addressed too. (However, shouldn't the patch above actually use Also, I find it annoying there are inconsistent use of "Task", "[]" and "()". For example:
versus
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm am currently trying to write a common errback for various celery chords. What I mean is that I create various types of chords which will differ in their header group, but I would link_error them to the same errback task. Works fine for now but I'm trying to improve logs. What I want is to hide this errback task name from the logs because it is very generic and use instead the name of the header tasks (they are all the same). To that end i'm using the 'shadow' option but it seems from this piece of code that it is not used in the default TaskFormatter, which surprises me because it is well used in task tracing (meaning for example that the worker logger displays properly '{shadow_name} received')
I did an ugly monkey patching to reach my goal for now but is it wanted to ignore the shadow name in task logging ?
Beta Was this translation helpful? Give feedback.
All reactions