[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Log Rotation
I've recently installed a bandwidth script that I would like to run weekly
so put a script in cron.weekly to run the script. This hopefully will mail
the results back however as the RAQ2 log rotation stands I believe each log
files is being rotated on size rather than month.
Can I change the log files in logrotate.d from
/home/sites/home/logs/access {
rotate 2
size 100mb
}
[to]
/home/sites/home/logs/access {
rotate 2
monthly
compress
}
Is this an efficient way of doing this as I woant to combine statistical
information but don't want the log files to grow out of control?
Cheers
Jonathan