Re: resolved IP

From: Henrik Nordstrom <[email protected]>
Date: Mon, 10 Jan 2000 10:46:37 +0100

Sergey Oleinikov wrote:
>
> How can I make to log access.log in other format ?
> Example:
>
> standart log: http://www.example.com/index.html
> I need: http://123.234.1.5/index.html
>
> I need resolved IP like gethostbyname function.
> Where I can change in sources to log resolved IPs ? :)
> I have squid 2.2.STABLE5

If your Squid is going direct to the sites then I have a patch which
includes the IP address in the hierarchy log tag (replaces the
hostname).

Squid-2.2.STABLE4: Log destination IP on DIRECT
<http://hem.passagen.se/hno/squid/squid-2.2.STABLE4.log_ip_on_direct.patch>

--
Henrik Nordstrom
Squid hacker
Received on Mon Jan 10 2000 - 08:32:03 MST

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