Werk #16072: Add wato audit log to logrotate cronjob

Komponente Site management
Titel Add wato audit log to logrotate cronjob
Datum 13.11.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein

The wato audit log ~/var/check_mk/wato/log/wato_audit.log was not rotated regularly. This lead to an ever growing audit log, which could not be viewed anymore once it reached several hundred MB of log lines.

Therefore, the audit log will now rotate regularly to archive files bigger than 300MB.

Existing logfiles greater 300MB will be splitted up on update and the source file will be backed up as wato_audit.log_backup.

Zur Liste aller Werks