Henrik Nordstrom advised me recently of this patch if you want full
"combined" log Apache style output:
http://devel.squid-cache.org/customlog/
I have just implemeted at my accelerator.
Rodrigo A B Freire wrote:
Hello,
Set emulate_httpd_log on
in squid.conf
----- Original Message ----- From: "MAIL.ru" <kanat@xxxxxxx>
To: <squid-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, August 10, 2005 8:34 AM
Subject: how to convert Squid log format to Apache
Sorry if posted not there.
my log analyzer program can’t understand this format, I need to convert
this as the below. Could anybody help how to convert this?
Squid log format:
1123577422.425 0 192.168.160.80 TCP_MISS/200 781 GET http://www.
business.lbn.ru/cgi-bin/iframe/old-GAGAVA? Fin9 DIRECT/217.16.31.83
text/
html
1123577424.560 0 192.168.160.80 TCP_MISS/302 0 GET
http://www.au-au.
ru/ap/show.php? Fin9 DIRECT/193.23.48.235 text/html
1123577424.829 0 192.168.160.80 TCP_MISS/200 35672 GET
http://my.jdu.
ru/messages.phtml Fin9 DIRECT/194.67.27.126 text/html
1123577425.889 0 192.168.160.80 TCP_MISS/304 0 GET http://img.
allegro.pl/photos/ap/168/391.gif Fin9 DIRECT/193.23.48.211 image/gif
Apache log format:
192.168.160.71 - Teh1 [10/Aug/2005:17:15:35 +0600] "GET http://www.
medafarm.ru/images/strelka.gif HTTP/1.1" 200 191
192.168.160.71 - Teh1 [10/Aug/2005:17:15:35 +0600] "GET http://www.
medafarm.ru/images/shadow_head.gif HTTP/1.1" 200 51
192.168.160.71 - Teh1 [10/Aug/2005:17:15:35 +0600] "GET http://www.
medafarm.ru/images/anons_bg2.gif HTTP/1.1" 200 185
192.168.160.71 - Teh1 [10/Aug/2005:17:15:35 +0600] "GET http://www.
medafarm.ru/images/point_bottom.gif HTTP/1.1" 200 142
192.168.160.71 - Teh1 [10/Aug/2005:17:15:35 +0600] "GET
http://top3.list.
ru/counter? HTTP/1.0" 200 43
.
--
Darryl L. Miles
M: 07968 320 114