Logrotate in Rails
September 29th, 2007 by pyratJust 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
}
March 27th, 2009 at 5:30 pm
[...] dont want massive logs slowing your app down after its been running got 6 months, remember to configure this as it is often [...]