Re: [squid-users] Information flodded in logfiles

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Thu, 17 Sep 2009 08:12:59 +0200

ons 2009-09-16 klockan 06:39 -0700 skrev sandiphw:

>
> Logfiles becomes in over a GB witin 7 days and squid stops working. We need
> to manually replaced these files with new one. debug_option is set to
> default. How to stop these informations comming to logfiles?

It's normal requests and should be logged. The issue is that the client
is not behaving well and continuously retries the same unsuccessful
request and getting back "authentiacation required" each time..

but you don't need store.log. Disable it in squid.conf.

> How can I set
> the maximum size of logfile?

The already mentioned logrotate is a good tool for keep track of log
file size and automatically pruning data to keep logs at comfortable
levels.

Regards
Henrik
Received on Thu Sep 17 2009 - 06:13:07 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 17 2009 - 12:00:02 MDT