[squid-users] logformat and emulate_httpd_log

From: Emilio Casbas <ecasbas@dont-contact.us>
Date: Tue, 15 May 2007 17:27:21 +0200

Related to this mail
http://www.mail-archive.com/squid-users@squid-cache.org/msg45846.html

We have a logformat configured such as:
logformat common %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %>st
"%{Referer}>h" "%{User-Agent}>h" "%{Cookie}>h"

and the log looks like:

X.X.X.74 - - [15/May/2007:17:09:40 +0200] "GET
http://X.X.X.60/SI/images/servicios/normasdeuso/normas.swf HTTP/1.0" 200
846 "http://X.X.X.60/SI/servicios/normasdeuso/" "Mozilla/5.0 (Windows;
U; Windows NT 5.1; es-ES; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"
"__utma=195368044.1974944821.1178892272.1179143335.1179241055.6;
__utmz=195368044.1179143335.5.4.utmccn=(referral)|utmcsr=X.X.X.122|utmcct=/index.html.es|utmcmd=referral;
__utmc=195368044; __utmb=195368044"

But we need a "%ru" parameter like the httpd native log, that is showing;
/SI/images/servicios/normasdeuso/normas.swf instead of
http://X.X.X.60/SI/images/servicios/normasdeuso/normas.swf

is it possible?

Thanks
Emilio C.
Received on Tue May 15 2007 - 09:27:38 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:05 MDT