[squid-users] Logging variable question

Amos Jeffries squid3 at treenet.co.nz
Sun Mar 1 01:15:01 UTC 2015


On 1/03/2015 4:55 a.m., Markus Moeller wrote:
> Hi,
> 
>   I wonder about the total size variables <st and >st for squid logs
> 
> # <st   Sent reply size including HTTP headers
> # >st   Received request size including HTTP headers. In the
> #       case of chunked requests the chunked encoding metadata
> #       are not included
> 
> I have set the logformat to
> 
> logformat squid_mm      %tg %6tr %>a %Ss/%03>Hs %<st %>st %rm %ru %un
> %Sh/%<A %mt
> 
> and have 2 cases for which I would like to see the request/reply total
> data size.
> 
> Case 1
> 
> Just receiving data.  (44073 and 35754 are local and remote ports
> respectively)
> 
> 28/Feb/2015:15:29:27   5887 192.168.1.17 TCP_TUNNEL/200 8895 45 CONNECT
> opensuse13.suse.home:443 - HIER_DIRECT/opensuse13.suse.home -

http://bugs.squid-cache.org/show_bug.cgi?id=3069

Amos


More information about the squid-users mailing list