Tag Archives: daily

Setting up log rotation for multiple Ruby on Rails projects on the same Linux server is easy using logrotate. If all of your projects are in the same directory structure it is even easier by using variables to work for each different project as explained below in detail.

First you will need to install logrotate which can be installed on CentOS Linux via yum as shown in the below command.