tirkarthi opened a new pull request, #47574:
URL: https://github.com/apache/airflow/pull/47574

   Initially I thought of accessing the filehandle through 
`proc.log._logger._file` where `log` is the `BoundLogger` but they are private 
and mypy doesn't like it. The other approach I thought was to store the 
filehandle as part of `DagFileProcessorProcess` itself. Thus whenever the 
processor is popped out after everything is complete the filehandle associated 
with the `DagFileProcessorProcess` is also closed. `filehandle` could be 
renamed to `log_file_handle` or something. I opened the PR for discussion to 
see if there are other approaches.
   
   Closes #46048


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to