You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Berislav Lopac (JIRA)" <ji...@apache.org> on 2018/04/26 08:20:00 UTC
[jira] [Created] (AIRFLOW-2379) Logging: GCSTaskHandler does not
upload the logs
Berislav Lopac created AIRFLOW-2379:
---------------------------------------
Summary: 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
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)