如果未指定默认的Celery日志级别,该怎么办? [英] What is the default Celery log level if none is specified?

查看:50
本文介绍了如果未指定默认的Celery日志级别,该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据 Celery文档 -l/-loglevel 命令行选项可用于:

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.

如果不使用此选项,因此未指定日志级别,那么Celery默认使用什么日志级别?

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

推荐答案

由于实施初始化期间设置的实例.

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

这篇关于如果未指定默认的Celery日志级别,该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆