You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently every time a worker enters on_failure it writes an error log with message "task has failed".
If I set my worker config to avoid that, like this:
A desired behavior for me is to be able to log WARNING on some exceptions without having always an ERROR log with it.
It would improve logs clarity and will let us write cleaner elastalert rules.
The text was updated successfully, but these errors were encountered:
nsteinberg-r7
changed the title
calling logger.error from on_failure not working under specific configuration
add option to avoid "task has failed" log
Jan 30, 2021
Currently every time a worker enters
on_failure
it writes an error log with message "task has failed".If I set my worker config to avoid that, like this:
then I don't get any logs at all.
A desired behavior for me is to be able to log WARNING on some exceptions without having always an ERROR log with it.
It would improve logs clarity and will let us write cleaner elastalert rules.
The text was updated successfully, but these errors were encountered: