Patch for logging HTTP-request size

From: Alter <alter@dont-contact.us>
Date: Sun, 28 Jan 2007 13:11:56 +0200

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

Received on Sun Jan 28 2007 - 10:51:58 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:02 MST