airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomasz Urbaszek (Jira)" <>
Subject [jira] [Created] (AIRFLOW-6099) Add host name to task runner log
Date Fri, 29 Nov 2019 10:19:00 GMT
Tomasz Urbaszek created AIRFLOW-6099:

             Summary: Add host name to task runner log
                 Key: AIRFLOW-6099
             Project: Apache Airflow
          Issue Type: Improvement
          Components: logging
    Affects Versions: 1.10.7
            Reporter: Tomasz Urbaszek

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] \{} INFO - Executing <Task(PubSubTopicCreateOperator):
create_topic> on 2019-11-28T00:00:00+00:00
{color:#FF0000}[2019-11-29 10:10:41,215] \{} INFO - Running on host:
[2019-11-29 10:10:41,216] \{} 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/',
'--cfg_path', '/tmp/tmpwrwdlsdv']

This message was sent by Atlassian Jira

View raw message