Re: [squid-users] Logging packet bytes vs. http size bytes?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 13 Jul 2011 16:00:52 +1200

 On Wed, 13 Jul 2011 00:58:34 +0700, David Parks wrote:
> Is there any way to log the actual packet sizes rather than just the
> size of
> the http request+headers that are found in the access log
> configuration?

 No, Squid does not have access to packet size information for TCP
 headers and other layers of overhead.

 If you mean the complete packet _content_ size. look at:
  http://www.squid-cache.org/Doc/config/logformat/

   < - client
> - server
   's' - size
   't' - total
   'h' - header
   'b' - body

 The default is to log %<st. (total size of transfer to client).

 I guess you are wanting total size sent to both client and server.
 Which would be %st

 Amos
Received on Wed Jul 13 2011 - 04:00:55 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 13 2011 - 12:00:03 MDT