You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/30 09:27:58 UTC

[GitHub] [airflow] potiuk commented on issue #22614: if deleted, the `dag_processor_manager.log` file is never recreated

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org