In version 4.1.0 of Celery, there was a --loglevel
flag which set the log level of the Celery worker.
This worked for things like celery -A myapp worker --loglevel INFO
.
But, as of version 5.0.2, this flag has been removed from the documentation.
As of right now, if I Google "Celery worker set log level" I get links to the Celery source code, and to this SO question which assumes its existence.
So how do you set the log level of a Celery worker now?