[ 
https://issues.apache.org/jira/browse/AIRFLOW-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16647806#comment-16647806
 ] 

ASF GitHub Bot commented on AIRFLOW-3119:
-----------------------------------------

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]


> Enable loglevel on celery worker and inherit from airflow.cfg
> -------------------------------------------------------------
>
>                 Key: AIRFLOW-3119
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3119
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: celery, worker
>    Affects Versions: 1.9.0, 1.10.0
>            Reporter: Luke Bodeen
>            Assignee: Luke Bodeen
>            Priority: Minor
>             Fix For: 1.10.1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I would like to enable debugging on my celery worker, this story will enable 
> --loglevel when launching a celery worker:
> [http://docs.celeryproject.org/en/latest/reference/celery.bin.worker.html]
>  
> and inherit that loglevel setting from airflow.cfg



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to