On 01/05/11 23:55, Andreas BrÃthen wrote:
Is it possible to configure Squid to log all outgoing
request/responses (i.e. to servers), and not just client
request/responses as it is by default?
grep -v -E "TCP_HIT" access.log >outgoing_server_requests.log
ie TCP_HIT are local cache storage fetches. All other requests involve
one server request even if it is just an IMS validation.
Other than that what are you looking for?...
every DNS packet to be logged?
every ICP packet?
every HTCP packet?
every ICMP packet?
digest and netdb updates?
peer monitoring requests?
Those are the only background traffics not indicated in access.log.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.12
Beta testers wanted for 3.2.0.7 and 3.1.12.1