Re: [squid-users] Squid keeps rotating.

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Thu, 05 Jun 2008 17:15:00 +0200

On tor, 2008-06-05 at 23:28 +1200, Amos Jeffries wrote:

> I'm wondering if the above works and want to find out why. Because last
> time I trusted logrotate like this. It renumbered the logs on me. Then
> squid -k rotate did it again. Which resulted in twice as many logs and
> every second one being empty.

That's why you need to set logfile_rotate to 0 in squid.conf, disabling
Squid's log rotation and making it only close and reopen the logs.

I use logrotate in nearly all my squid setups.

Regards
Henrik
Received on Thu Jun 05 2008 - 15:15:11 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 05 2008 - 12:00:02 MDT