How to Configure logrotate on Debian 13 and Ubuntu (with Examples) ↗
Set up logrotate for your own application logs on Debian 13, Debian 12 and Ubuntu 26.04/24.04: write a /etc/logrotate.d config, dry-run it with -d, force a test rotation, reload services with postrotate and fix common er...