action #107794
openopenqa-logwarn is missing messages
0%
Description
It runs every hour and looks into /var/log/openqa, but this is rotated every couple of hours, so we might miss up to one hour of messages in the worst case.
Updated by tinita almost 3 years ago
- Project changed from openQA Project (public) to openQA Infrastructure (public)
- Category deleted (
Regressions/Crashes)
Updated by okurz almost 3 years ago
- Priority changed from Normal to Low
- Target version set to future
Correct, we don't synchronize logwarn with the rotation of logs. Feel welcome to change the interval to partially mitigate the issue. The only thing we should keep in mind that if there is a recurring unhandled message then we would receive more emails.
Updated by okurz almost 3 years ago
If we want to also look into the just rotated file we could instruct logrotate to not compress that with the "delaycompress" option. There is also "prerotate", "postrotate", "firstaction", "lastaction" to be used in logrotate. With that we could instruct to call openqa_logwarn synchronized with the rotation. Reference man page of logrotate.