airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berislav Lopac (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-2379) Logging: GCSTaskHandler does not upload the logs
Date Thu, 26 Apr 2018 08:20:00 GMT
Berislav Lopac created AIRFLOW-2379:

             Summary: Logging: GCSTaskHandler does not upload the logs
                 Key: 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

View raw message