RE: [squid-users] [SQUID3] Logging issue

From: Pascal Peregrina <Pperegrina@dont-contact.us>
Date: Thu, 22 Apr 2004 12:01:11 +0200

Sorry, I should have been more explicit...

Here is a subset of my configuration :

http_port 8002 vhost
icp_port 8202
...
logformat mis %{X-Forwarded-For}>h [%tl] %la %lp "%rm %ru HTTP/%rv" %Hs %<st
"%{Referer}>h" "%{User-Agent}>h" "%{Cookie}>h"
log_icp_queries off
acl mis myport 8002
access_log /usr/manhattan/20040405-devo07/instances/squidu1/log/MIS.log mis
!mis
access_log
/usr/manhattan/20040405-devo07/instances/squidu2/log/squid_access.log
...

This works for the MIS.log file... There I seem to get real user requests...
First wierd thing : I had to put "!mis" to actually log port 8002 queries !?

But my main concern is that I had to turn icp logging off.
I would like to have it off for MIS.log and on for the default
squid_access.log

I hope my problem is clearer now...

Thanks.

Pascal

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: 22 April 2004 10:55
To: Pascal Peregrina
Cc: 'squid-users@squid-cache.org'
Subject: Re: [squid-users] [SQUID3] Logging issue

On Thu, 22 Apr 2004, Pascal Peregrina wrote:

> I would like to log all the "real" user requests in one file, and continue
> logging everything in the default squid_access.log file...

See the cache_access_log directive. It is quite powerful in Squid-3.

Regards
Henrik

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Thu Apr 22 2004 - 04:01:37 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT