[ 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)