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

2011-07-12 Thread Amos Jeffries

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 %I guess you are wanting total size sent to both client and server. 
Which would be %st


Amos


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

2011-07-12 Thread David Parks
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?