From 2bb2b93a2f9df63b4f1fbcbe31ef24585643498b Mon Sep 17 00:00:00 2001 From: Luke Bodeen Date: Fri, 12 Oct 2018 06:44:28 -0500 Subject: [PATCH] [AIRFLOW-3119] Enable debugging with Celery(#3950) This will enable --loglevel when launching a celery worker and inherit that LOGGING_LEVEL setting from airflow.cfg --- airflow/bin/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py index c50a790ba9891..eeef6e5effff3 100644 --- a/airflow/bin/cli.py +++ b/airflow/bin/cli.py @@ -1040,6 +1040,7 @@ def worker(args): 'queues': args.queues, 'concurrency': args.concurrency, 'hostname': args.celery_hostname, + 'loglevel': conf.get('core', 'LOGGING_LEVEL'), } if args.daemon: