Ali Soleimani Dehdivan created AIRFLOW-6173:
-----------------------------------------------
Summary: 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.6, 1.10.5
Reporter: Ali Soleimani Dehdivan
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)