Fokko closed pull request #3950: [AIRFLOW-3119] Enable loglevel on celery
worker and inherit from airflow.cfg
URL: https://github.com/apache/incubator-airflow/pull/3950
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/airflow/bin/cli.py b/airflow/bin/cli.py
index 1c5494ead1..4a8a4d7ce5 100644
--- a/airflow/bin/cli.py
+++ b/airflow/bin/cli.py
@@ -1058,6 +1058,7 @@ def worker(args):
'queues': args.queues,
'concurrency': args.concurrency,
'hostname': args.celery_hostname,
+ 'loglevel': conf.get('core', 'LOGGING_LEVEL'),
}
if args.daemon:
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services