From commits-return-78327-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Fri Nov 29 10:19:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7A81A180657 for ; Fri, 29 Nov 2019 11:19:04 +0100 (CET) Received: (qmail 80285 invoked by uid 500); 29 Nov 2019 10:19:03 -0000 Mailing-List: contact commits-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.apache.org Delivered-To: mailing list commits@airflow.apache.org Received: (qmail 80275 invoked by uid 99); 29 Nov 2019 10:19:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Nov 2019 10:19:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 31332C0845 for ; Fri, 29 Nov 2019 10:19:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -111.49 X-Spam-Level: X-Spam-Status: No, score=-111.49 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, FROM_FMBLA_NEWDOM=1.499, KAM_DMARC_STATUS=0.01, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id akUlr-99zmCy for ; Fri, 29 Nov 2019 10:19:02 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=207.244.88.153; helo=mail.apache.org; envelope-from=jira@apache.org; receiver= Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with SMTP id 09CDBBC533 for ; Fri, 29 Nov 2019 10:19:01 +0000 (UTC) Received: (qmail 80046 invoked by uid 99); 29 Nov 2019 10:19:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Nov 2019 10:19:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D6EDDE0101 for ; Fri, 29 Nov 2019 10:19:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 054597801FF for ; Fri, 29 Nov 2019 10:19:00 +0000 (UTC) Date: Fri, 29 Nov 2019 10:19:00 +0000 (UTC) From: "Tomasz Urbaszek (Jira)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AIRFLOW-6099) Add host name to task runner log MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tomasz Urbaszek created AIRFLOW-6099: ---------------------------------------- Summary: 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 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. =C2=A0 [2019-11-29 10:10:41,214] \{taskinstance.py:846} INFO - Executing 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: ['airf= low', '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)