How to enable rotation of log files for celeryd with djcelery?

Viewed 11416

I have below settings in my celery configuration file:

  1. CELERYD_LOG_DEBUG='FALSE'
  2. CELERYD_LOG_FILE=r'/var/log/celery/celeryd.log'
  3. CELERYD_LOG_LEVEL="ERROR"

I looked at the settings file of the celery and there is no option to specify the log file size limit in the configuration. Even the code looks like its using the StreamHandler instead of the RotationHandler class. Any clues/hints ?

Thanks.

2 Answers
Related