potiuk commented on issue #22614:
URL: https://github.com/apache/airflow/issues/22614#issuecomment-1082838303


   this is expected behaviour on POSIX systems. When Rotating file Handler is 
used, the file it writes to should not be removed because that removes only 
link to the file from teh directory but the actual file is not removed until 
there is any process writing to it (and all processes that opened the file for 
wrting are unaware that the file has been removed from a folder). The file can 
be hard-linked somewhere else and in this case it wont even be deleted. 
   
   The solution is to only remove the "rotated" files. 


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