Docu review done: Mon 20 Feb 2023 11:06:16 CET

Logrotate

Table of Content

Test configuration without applying it

$ logrotate -d /etc/logrotate.d/haproxy

Force rotation

To enforce a logrotation use the parameer -f

$ logrotate -f /etc/logrotate.conf

This will ignore your some limitations (daily, weekly, minsize, minage,…) settings and perform a rotate on all logs