Skip to content

Commit 61b0fef

Browse files
clonelukeChris Fei
authored and
Chris Fei
committed
Enable debugging with Celery(apache#3950)
This will enable --loglevel when launching a celery worker and inherit that LOGGING_LEVEL setting from airflow.cfg
1 parent ad0da09 commit 61b0fef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

airflow/bin/cli.py

+1
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,7 @@ def worker(args):
962962
'queues': args.queues,
963963
'concurrency': args.concurrency,
964964
'hostname': args.celery_hostname,
965+
'loglevel': conf.get('core', 'LOGGING_LEVEL'),
965966
}
966967

967968
if args.daemon:

0 commit comments

Comments
 (0)