On 17/06/11 05:18, Farokh Irani wrote:
I'm running squid 3.1.12.2 on Ubuntu 10.04 LTS and I've been seeing a
strange problem with the logging.
I have the following in my squid.conf file:
logformat ourlogformat %tl %>a %Ss/%03>Hs %<st %rm %ru %un %Sh/%<A %mt
%et %ea
access_log /var/log/squid3/access.log ourlogformat
logformat icaplogformat %tl %>a %icap::to/%03icap::Hs %icap::rm
icap_log /var/log/squid3/access.log icaplogformat
What happens is that once squid is running, it logs everything (TCP_HIT,
MISS, etc) and then at some point it stops logging everything but the
ICAP entries.
If I do squid -k reconfigure the logging starts to work again.
Any ideas on what might be going on?
Squid access.log entries happen whenever a request is completed handling.
It sounds like there is a forwarding loop or ICAP retries going on.
Is the same request or a small set of requests logged repeatedly?
Are they requests for URLs pointing at Squids listening port?
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.12
Beta testers wanted for 3.2.0.8 and 3.1.12.2