Search squid archive

Re: Logging packet bytes vs. http size bytes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux