Logrotate

Logrotate can be used to prevent log files getting too large and taking up too much disk space. Quick Links: Configuring /var/logrotate.conf Log rotate configuration blocks for applications Log rotation configuration block example Log rotation ‘count’ Log rotation ‘interval’ Log rotation ‘size’ Log rotation ‘compression’ Log rotation ‘nocompress’ to prevent logs being compressed Log rotation […]