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:[EMAIL PROTECTED]
squid25_14_4.tot_req_sz.patch.gz
Description: GNU Zip compressed data
