Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6173

Remote logging handler does not close at the end of run

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.10.5, 1.10.6
    • Fix Version/s: None
    • Component/s: cli, gcp
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alisol Ali Soleimani Dehdivan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: