This is a discussion on RE: [squid-users] [SQUID3] Logging issue - squid ; 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 % "%{Referer}>h" "%{User-Agent}>h" "%{Cookie}>h" log_icp_queries off acl mis myport ...
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 %"%{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
__________________________________________________ ______________________