action #107794
open
openqa-logwarn is missing messages
Added by tinita almost 3 years ago.
Updated almost 3 years ago.
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.
- Project changed from openQA Project (public) to openQA Infrastructure (public)
- Category deleted (
Regressions/Crashes)
- 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.
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.
Also available in: Atom
PDF