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-Version 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Inkompatibel - Manuelle Interaktion könnte erforderlich sein
Affected Editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

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