Project

General

Profile

Actions

action #34510

closed

Add logrotate for logs in OSD

Added by szarate about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2018-04-09
Due date:
% Done:

0%

Estimated time:

Description

Currently in OSD under /srv there are the postgreSQL logs being stored (under /srv/PSQL94/data/pg_log), and these can take up some space, these logs should be added to Logrotate so that they don't consume half of the available space or more.

Using a similar policy than the one available for openQA logs is more than enough as a starting point.

AC1: logrotate is enabled for /var/lib/pgsql/data/pg_log
AC2: Salt recipe is provided for logrotate on /var/lib/pgsql/data/pg_log


Related issues 1 (0 open1 closed)

Related to openQA Infrastructure - action #93195: [Alerting] Failed systemd services alert (except openqa.suse.de) on 2021-05-28, logrotate.service on openqaworker-arm-1Resolvedokurz2021-05-282021-06-11

Actions
Actions

Also available in: Atom PDF