in reply to Modifying a log(text) file being written to by another process.
man logrotate
Have a nice day All decision is left to your taste