I use Supervisor to control celery. The celery supervisor configuration file contains the following 2 entries:
stdout_logfile = /var/log/supervisor/celery.log
stderr_logfile = /var/log/supervisor/celery_err.log
What bothers me is that, despite the fact that Celery is working correctly and all tasks have been completed successfully, they are all written on celery_err.log. I thought it would be only for mistakes. The celery.log file shows only the usual celery loading information. Is the behavior of the correct entry for the successful completion of a task in the error log?
Note - the tasks will certainly succeed (sent emails, db records, etc.).
source
share