TecMint published a tutorial about how to setup and manage log rotation using Logrotate in Linux.
How to Setup and Manage Log Rotation Using Logrotate in Linux
One of the most interesting (and perhaps one of the most important as well) directories in a Linux system is /var/log. According to the Filesystem Hierarchy Standard, the activity of most services running in the system are written to a file inside this directory or one of its subdirectories.
How to Setup and Manage Log Rotation Using Logrotate in Linux