Log Rotation
developer
Log rotation archives and compresses old log files so they cannot fill the disk. Rotation policies set how long logs are kept and when they are deleted.
Rotate daily and keep 30 days; an unrotated log on a small VPS is a slow-motion disk-full outage.