airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berislav Lopac (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (AIRFLOW-2379) Logging: GCSTaskHandler does not upload the logs
Date Mon, 30 Apr 2018 11:04:00 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Berislav Lopac closed AIRFLOW-2379.
-----------------------------------
    Resolution: Fixed

> Logging: GCSTaskHandler does not upload the logs
> ------------------------------------------------
>
>                 Key: AIRFLOW-2379
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2379
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: logging
>            Reporter: Berislav Lopac
>            Priority: Major
>
> In the current master, when using {{GCSTaskHandler}} the logs are not uploaded to the
GCS bucket. I've narrowed it down to the handler not being able to find the local log file
in the {{.close}} method, which in turn happens because the method {{.set_context}} is not
called in some cases, specifically at the end of the run when the log is supposed to be uploaded.
> I'll keep exploring the issue when I have the time, but perhaps someone with better understanding
of the logging mechanism might be able to provide some insight.



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

Mime
View raw message