rotate log -> .gz

From: Kazuhiro Asakura <asakura@dont-contact.us>
Date: Thu, 22 Jul 1999 11:40:22 +0900

Hello,

I have a couple of questions about the log rotate.

I operating rotate Squid log by cron everyday. but Squid log is big.
Could anyone out there tell me how to archive all rotate log ".gz"
or ".Z" ?

current crontab :
0 3 * * * /usr/local/squid/bin/squid -k rotate

I want to rotate log files, following to :
access-log -> access-log.0.gz
access-log.0.gz -> access-log.1.gz
access-log.1.gz -> access-log.2.gz
....

System: Solaris2.6
Squid : Squid-2.2.STABLE4

Regards,
Kazuhiro
Received on Wed Jul 21 1999 - 20:22:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:28 MST