Logrotate in Rails
Just a wee snippet for logrotate.
Open /etc/logrotate.conf or find it.
Then drop this at the bottom:
/var/www/apps/oentries/current/log/*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
copytruncate
}