logrotate

logrotate#

Rotate, compress, and prune log files.

$ sudo logrotate -d /etc/logrotate.conf
$ sudo logrotate -f /etc/logrotate.d/nginx
$ cat /var/lib/logrotate/status