Re: rotate log -> .gz

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 22 Jul 1999 07:10:04 +0200

Kazuhiro Asakura wrote:

> 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" ?

You have to make your own rotate function then, and disable Squid's
internal rotate function.

--- squid.conf ---
logfile_rotate 0

[example log_rotate.sh attached]

--
Henrik Nordstrom
Spare time Squid hacker

Received on Wed Jul 21 1999 - 23:00:17 MDT

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