Re: [squid-users] LOG File access.log

From: Joe Cooper <joe@dont-contact.us>
Date: Fri, 22 Nov 2002 10:20:32 -0600

(Please keep Squid discussions on the Squid-Users mailing list. It may
be useful to others.)

The access.log should appear again when Squid begins logging accesses.
i.e. if you use your proxy, the access.log should reappear.

Nataniel Klug wrote:

> Joe,
>
> It's all correct. I will wait a while to see what happens. About
> one hour ago I
> deleted all squid log files from /var/log/squid directory and
> restarted the squid proxy. I
> noted that access.log does not appear again, is this correct?
>
> Nataniel
>
> ----- Original Message -----
> From: "Joe Cooper"
> To: "Nataniel Klug" ;
> Sent: Friday, November 22, 2002 8:24 AM
> Subject: Re: [squid-users] LOG File access.log
>
>
> : Looks good to me.
> :
> : Make sure logrotate is running via cron on a daily basis. And make sure
> : the paths to the Squid log files are correct.
> :
> : Nataniel Klug wrote:
> :
> : > Joe,
> : >
> : > I saw in my /etc/logrotate.d/ that exists a file named squid and
> : > it contains the
> : > folowing:
> : >
> : > /var/log/squid/access.log {
> : > daily
> : > rotate 2
> : > copytruncate
> : > compress
> : > notifempty
> : > missingok
> : > }
> : > /var/log/squid/cache.log {
> : > weekly
> : > rotate 2
> : > copytruncate
> : > compress
> : > notifempty
> : > missingok
> : > }
> : >
> : > /var/log/squid/store.log {
> : > weekly
> : > rotate 2
> : > copytruncate
> : > compress
> : > notifempty
> : > missingok
> : > # This script asks squid to rotate its logs on its own.
> : > # Restarting squid is a long process and it is not worth
> : > # doing it just to rotate logs
> : > postrotate
> : > /usr/sbin/squid -k rotate
> : > endscript
> : > }
> : >
> : > Is this correct for rotating access.log by day and store just two
> : > files? And cache.log
> : > by week and store two files?
> : >
> : > Nataniel
> : >
> : > ----- Original Message -----
> : > From: "Joe Cooper"
> : > To: "Nataniel Klug"
> : > Cc:
> : > Sent: Friday, November 22, 2002 8:09 AM
> : > Subject: Re: [squid-users] LOG File access.log
> : >
> : >
> : > : Are you rotating your logs on a regular basis? (I use logrotate for
> : > : this task.)
> : > :
> : > : Nataniel Klug wrote:
> : > :
> : > : > Hi,
> : > : >
> : > : > I am having a big problem with a file from squid. When I start
> : > : > Squid it generates only
> : > : > two log files (access.log and cache.log, the other one I set to
> : > : > "none"). My problem is
> : > : > that the file access.log is growing to much and it starts to
> overcome
> : > : > my hardrive. How can
> : > : > I disable this log os even make it smaller?
> : > : >
> : > : > Nataniel Klug
> :
> :
> : --
> : Joe Cooper
> : Web caching appliances and support.
> : http://www.swelltech.com
> :
> :
>
>

-- 
Joe Cooper <joe@swelltech.com>
Web caching appliances and support.
http://www.swelltech.com
Received on Fri Nov 22 2002 - 09:20:34 MST

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