Apr
10
2009
Setup Log Rotation for Multiple Ruby on Rails Projects Using Linux logrotate
Posted by alex in InsightsSetting 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.
yum install logrotateTags: CentOS, compress, copytruncate, daily, dateext, delaycompress, gzip, Linux, logrotate, missingok, notifempty, olddir, project, Ruby, sharedscripts, size, yum









Entries (RSS)