Hello,
I've made patch to Squid 2.5-stable14 (r4), which enables logging of
http-request size and/or total request+reply size.
Patch extends 'logformat' option of squid.conf. '>st' and 'st' can be
used to log request size and total size respectively. If 'st' is used
instead of '<st', squid will log total request size
instead of reply size to access.log. For example
logformat altsquid %ts.%03tu %6tr %>a %Ss/%03Hs %st %rm %ru %un %Sh/%<A %mt
access_log /usr/local/squid/logs/access.log altsquid
Please, find patch in attachment.
Also, it is published at http://alter.org.ua/soft/fbsd/squid_tot_sz/
-- Best regards, Alter mailto:alter@alter.org.ua
This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:02 MST