You are viewing a single comment's thread:
You might find this worth a read through.
https://docs.rackspace.com/support/how-to/understanding-logrotate-utility
Rotate count The rotate command determines how many archived logs are returned before logrotate starts deleting the older ones. For example:rotate 4
This command tells logrotate to keep four archived logs at a time. If four archived logs exist when the log is rotated again, the oldest one is deleted to make room for the new archive.
Thanks, I will give it a read.