Re: Newbie in squid

From: Martin Brooks <martin@dont-contact.us>
Date: Thu, 24 Feb 2000 09:01:18 +0000

> wingchunkuen wrote:
> I setup RedHat6.1 and squid-2.2.STABLE4 on a Pentium 66 machine,
> After I run : # squid -k rotate , the logs(access,cache,store) remain
> the same, they are not backed up as access.log.1.gz , cache.log.1.gz

Last one first. Squid does not compress the log files, you'll need to do
that manually.
How have you got log rotation configured in squid.conf?

> ,etc.
> Why?
>
> PS: I want to make the squid rotating as a cron job.But I don't have
> any knowledge about Cron.

man cron

> Which specific file shall I put in the cron job entry for squid? Could
> someone answer this in details?

Assuming you used the installation defaults...

/usr/local/squid/bin/squid -k rotate

-- 
Martin Brooks, Systems Administrator
martin@gointernet.co.uk
---------------------------
Go Internet Ltd
36 Gloucester Avenue
NW1 7BB London UK
Phone +44-(0)20-7419 0001
Fax +44-(0)20-7419 6519
Received on Thu Feb 24 2000 - 02:17:36 MST

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