Actions
Bug #8115
openLog rotation doesn't work during zero traffic
Affected Versions:
Effort:
low
Difficulty:
Label:
C
Description
Log rotation checks (code link) only happen when there are active log "writes" happening in the system. In cases of zero-traffic, they may not get triggered because of which downstream processes waiting on log file close event miss out on time-critical logs.
There is a related bug (code link) that reopens the file twice if both the rotation flag is set and rotation time interval passed. This creates erroneous notifications for downstream processes that are using `inotify` kind of directory monitoring for file close events on the log files.
Updated by Abhijeet Singh about 7 hours ago
I can submit a pull request for a fix for above. Trying to figure out how to assign this bug to myself.
Updated by Abhijeet Singh about 6 hours ago
Updated by Abhijeet Singh about 6 hours ago
- Status changed from New to In Review
Actions