Re: How to log remote WWW server IP address

From: Pål Marius Baltzersen <pal.baltzersen@dont-contact.us>
Date: Tue, 18 May 1999 16:22:58 +0200

You may want to look at http://info.ost.eltele.no/freeware/misc/#squidlog2combined
It is a workaround.
I think emulation of Apache combined accesslog would be nice to have in Squid
- especially if one could choose between the client or server as the "remote".

Pål

----------------------------------------------------------------
Addr: Pål Baltzersen, ElTele Øst AS, Fredrik Selmers vei 2, Postboks 6299 Etterstad, N-0603 Oslo.
Phone: +47 23 18 10 00 Direct: +47 23 18 11 74
fax: +47 23 18 10 01 Mobile: +47 93 08 11 74
mail: pb@ost.eltele.no pal.baltzersen@ost.eltele.no

>>> Zhang Huanjie <james@ustc.edu.cn> 12:30:56 18.05.99 >>>
I want to log the IP address of the WWW server from which the content was
get.

Such as, if user send request "http://www.yahoo.com/" to squid, squid
will get the content from host www.yahoo.com, and will log "www.yahoo.com"
to access_log file. But I want the IP address of www.yahoo.com be logged
in the access_log.

How should I do it?

--
73 DE BG6CQ                       URL: http://www.ustc.edu.cn/~james 
Zhang Huanjie                  E-mail: james@ustc.edu.cn 
Computer Science
University of Science and Technology of China 
Received on Tue May 18 1999 - 08:57:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:19 MST