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

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

potiuk commented on pull request #6688: [AIRFLOW-6099] Add host name to task 
runner log
URL: https://github.com/apache/airflow/pull/6688
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Add host name to task runner log
> --------------------------------
>
>                 Key: AIRFLOW-6099
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6099
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: logging
>    Affects Versions: 1.10.7
>            Reporter: Tomasz Urbaszek
>            Priority: Minor
>
> It would be great to be able to look at log at web UI and see on what host 
> the task was running. This is very helpful especially with celery executor 
> using multiple workers.
>  
> [2019-11-29 10:10:41,214] \{taskinstance.py:846} INFO - Executing 
> <Task(PubSubTopicCreateOperator): create_topic> on 2019-11-28T00:00:00+00:00
> {color:#FF0000}[2019-11-29 10:10:41,215] \{base_task_runner.py:125} INFO - 
> Running on host: 78389658e938{color}
> [2019-11-29 10:10:41,216] \{base_task_runner.py:126} INFO - Running: 
> ['airflow', 'tasks', 'run', 'example_gcp_pubsub', 'create_topic', 
> '2019-11-28T00:00:00+00:00', '--job_id', '2', '--pool', 'default_pool', 
> '--raw', '-sd', 
> '/opt/airflow/airflow/providers/google/cloud/example_dags/example_pubsub.py', 
> '--cfg_path', '/tmp/tmpwrwdlsdv']



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to