Re: [squid-users] continued log rotation problems ...

From: Hegedus, Ervin <[email protected]>
Date: Tue, 31 Dec 2002 17:31:34 +0100

Hello,

> i'm still having problems with log rotation ...
>
> overnight, my access.log was changed from access.log to access.log.1 and
> squid continues to write to that file rather than to a new access.log
>
> my /etc/logrotate.conf reads as follows:
> /var/log/squid/access.log {
> rotate 9
> daily
> mail kenn@thebytebusiness.com
> postrotate
> /sbin/killall -HUP syslogd
> endscript
> }
okay, this may right, but i think, you need to do this:

kill -USR1 `cat /path/to/your/squid.pid`
(see squid-doc)

ps: why don't you use squid -k rotate && gzip?

ps2: Happy New Year to All on list ;)

AirWeen
Received on Tue Dec 31 2002 - 09:31:36 MST

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