On 11/17/05, Arie Reynaldi Z
Hi All,
I have installae qmail + qmail-scanner, right now my qmail-queue.log is getting bigger.. I'm affraid it's gonna get so big like couple of megs in a week. How can i run log rotate so it will be like qmail-queue.log.tar.gz.1 and so on..
man logrotate gives good examples. For example
compressed
/var/log/qmail.log {
rotate 5
weekly
}
rotates log file /var/log/mail.log on a weekly basis exactly 5 times
before deleting old logs. By default log files are compressed (set
global compressed flag). The compressed files can be distinguished by
date which is part of the file name: qmail.log-20051711.gz.
\Steve
--
Steve Graegert