Project

General

Profile

Actions

action #107794

open

openqa-logwarn is missing messages

Added by tinita about 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
2022-03-02
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by tinita about 2 years ago

  • Project changed from openQA Project to openQA Infrastructure
  • Category deleted (Regressions/Crashes)
Actions #2

Updated by okurz about 2 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.

Actions #3

Updated by okurz about 2 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.

Actions

Also available in: Atom PDF