Skip to content

Commit

Permalink
[AIRFLOW-3119] Enable debugging with Celery(#3950)
Browse files Browse the repository at this point in the history
This will enable --loglevel when launching a 
celery worker and inherit that LOGGING_LEVEL 
setting from airflow.cfg
  • Loading branch information
cloneluke authored and Fokko committed Oct 12, 2018
1 parent 345b80f commit 2bb2b93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/bin/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2bb2b93

Please sign in to comment.