[
https://issues.apache.org/jira/browse/AIRFLOW-6173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16989979#comment-16989979
]
Ash Berlin-Taylor commented on AIRFLOW-6173:
--------------------------------------------
That's odd - the logging should all get closed automatically by the python
logging framework before the process shuts down.
> Remote logging handler does not close at the end of run
> -------------------------------------------------------
>
> Key: AIRFLOW-6173
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6173
> Project: Apache Airflow
> Issue Type: Bug
> Components: cli, gcp
> Affects Versions: 1.10.5, 1.10.6
> Reporter: Ali Soleimani Dehdivan
> Priority: Major
>
> Hi, We tried to enable remote logging to GCS bucket but we could not manage
> to run it successfully after digging in the code I found that if I close
> GCSTaskHandler manually in cli.py line 552 after _run it works fine. I added
> these lines
> for h in reversed(ti.log.handlers[:]):
> h.close()
> I'm not sure if it is a bug or not.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)