logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and ...
In this article, we will explain how to use logrotate to automatically rotate system logs, compress, remove, and mail logs on a periodic basis in Linux servers.