When an access log that rotates in-place is re-created, daemon sometimes incorrectly processes this situation and reads whole old file instead of reading a new one. It is required to investigate an issue, find a cause of a problem and resolve it.
As a quick solution it is possible to create an additional check for time period start when a daemon starts to read a file. Now only time period end check is performed, the daemon assumes that the period start is set correctly after seek is done and it starts to read a file.
When an access log that rotates in-place is re-created, daemon sometimes incorrectly processes this situation and reads whole old file instead of reading a new one. It is required to investigate an issue, find a cause of a problem and resolve it.
As a quick solution it is possible to create an additional check for time period start when a daemon starts to read a file. Now only time period end check is performed, the daemon assumes that the period start is set correctly after seek is done and it starts to read a file.