]> git.ipfire.org Git - thirdparty/squid.git/commit
Author: Alter <alter@alter.org.ua>
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 25 Jun 2008 12:21:03 +0000 (00:21 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 25 Jun 2008 12:21:03 +0000 (00:21 +1200)
commit1a86db31764aa49ce40d644734e6a7b58350706a
treed67da240e2b07894cb193af5072f13c2513510f9
parent9a6a600f88aea8c566d3f1d56ea6f607f9c049ac
Author: Alter <alter@alter.org.ua>
Bug 2301: Regression: Log format request/reply size options

MFC: logging HTTP-request size

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
src/AccessLogEntry.h
src/access_log.cc
src/cf.data.pre
src/client_side.cc
src/icp_v2.cc