Logrotate ( http://www.debian-administration.org/articles/117)
My roundcube file looks like such:
/path/to/roundcube/logs/errors {
weekly
rotate 4
compress
missingok
create 0640 www-data www-data
}
There are other options in logrotate so you can delete the old file, etc....
Regards,
Daniel
On Tue, 9 Feb 2010 15:38:39 -0800 (PST), PJ wrote:
Hi All,Wondering if anyone can point me at some location which would allow me to set the maximum size for log files.I have an errors log which due to a timezone config error has hit 47GB in three weeks. I've now resolved the error but would like to ensure the log file does not grow to this size ever again.Cheers,PJ--
Email slow, clunky, unreliable? Switch to Yahoo!Xtra Mail, New Zealand's new email address.