python - What is the default Celery log level if none is ...
stackoverflow.com › questions › 44428064Jun 08, 2017 · 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?
使用Celery踩过的坑 - 简书
https://www.jianshu.com/p/9e422d9f1ce208.05.2016 · $ celery -A proj worker --loglevel=INFO --concurrency=10 -n worker1.%h $ celery -A proj worker --loglevel=INFO --concurrency=10 -n worker2.%h $ celery -A proj worker --loglevel=INFO --concurrency=10 -n worker3.%h 可以像这样启动不同的worker,%h可以指定hostname,详细说明可以查看官方文档
celery.app.log — Celery 5.2.3 documentation
docs.celeryproject.org › en › stableWill return the base task logger object. """ loglevel = mlevel (loglevel or self. loglevel) format = format or self. task_format colorize = self. supports_color (colorize, logfile) logger = self. setup_handlers (get_logger ('celery.task'), logfile, format, colorize, formatter = TaskFormatter, ** kwargs) logger. setLevel (loglevel) # this is an ...