Search squid archive

logformat and emulate_httpd_log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Related to this mail
http://www.mail-archive.com/squid-users@xxxxxxxxxxxxxxx/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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux