]> git.ipfire.org Git - thirdparty/squid.git/commit
Author: Alter <alter@alter.org.ua>
authorAmos Jeffries <amosjeffries@squid-cache.org>
Fri, 27 Jun 2008 13:40:12 +0000 (07:40 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Fri, 27 Jun 2008 13:40:12 +0000 (07:40 -0600)
commite6e5f9deb8167db0583dcbabcf3844df56e3cfa3
treef97521901bb1239704c1cd84acda34bdade4b466
parent1c5f2289c7593c42b111050a1a1e04df96e9a51d
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