Monday, 11 November 2019

Celery tasks don't send email to admins on logger critical messages

My celery tasks don't send an email to application admins each time I call logger.critical.

I'm building a Django application The current configuration of my project, allows the admins of the application to receive an email each time a logger.critical message is created. This was pretty straight forward to set up. For some reason, which I'm not figuring out, the code that runs inside a celery task, does not have the same behavior.

Does celery actually event allow this to be done? Am I missing some configuration? Does anyone got this problem and was able to solve it?

Using:

  • Django 1.11
  • Celery 4.3

Thanks for any help.



from Celery tasks don't send email to admins on logger critical messages

No comments:

Post a Comment