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

こ雲淡風輕ζ 提交于 2021-01-27 03:51:17

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/44428064/what-is-the-default-celery-log-level-if-none-is-specified

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!