Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the default Celery log level if none is specified?

According to the Celery documentation, the -l/--loglevel command line option can be used for:

-l, --loglevel

Logging level, choose between DEBUG, INFO, WARNING, ERROR, CRITICAL, or FATAL.

If this option is not used and therefore no log level is specified, what is the log level used by Celery by default?

like image 851
dukebody Avatar asked Jun 08 '17 06:06

dukebody


1 Answers

Default log level in Celery is WARNING due implementation here. That level is set during initialization of the Logging instance.

like image 103
hurturk Avatar answered Sep 17 '22 12:09

hurturk