Re: [squid-users] Squid, unforeseen logformat

From: Chris Robertson <crobertson_at_gci.net>
Date: Wed, 28 May 2008 13:43:30 -0800

Wundy wrote:
> Greetings.
>
> I'm running squid 2.6 STABLE.
> I have adjusted my squid.conf to include the following logformat:
> logformat custom %>a %ru %rm %mt
>
> yet when I look at the access logs for squid I get the following:
> 1211862749.607 126781 192.168.187.254 TCP_MISS/502 1266 GET
> http://www.cad-comic.com - DIRECT/www.cad-comic.com text/html
>
> so as I can see I get :
> time since epoch, time elapsed, ip address, squid cache result code, http
> status code, unknown, request method, url, referer, mime type
>
> Is my custom format not working or is this information that I simply cannot
> avoid ?
>

So you specified the format, but did you declare its use? What does
your access_log line look like?

> Can also anyone please explain the 1266 number ? no idea what it's for.
> greets
>

Bytes transfered (inclusive of headers). In this case, the size of the
error page (and headers).

http://wiki.squid-cache.org/SquidFaq/SquidLogs#head-de34519356ecd6791303987f0ee79b043199374b

Chris
Received on Wed May 28 2008 - 21:44:00 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT