Search squid archive

Re: Get IP for hostname portion in the URL?

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

 



> A log entry looks like this:
>
> 1141175786.622     50 141.42.60.21 TCP_MISS/200 4132 GET http://www.tjaereborg.de/media/TJAEREBORG_Winter_2005_ZP0133_liste_-2.jpg - DEFAULT_PARENT /127.0.0.1 image/jpeg
>
> Is there any pre-existing code that ADDS an additional column to the
> log entry -- the IP of the hostname portion in the URL, e.g.
>
> 1141175786.622     50 141.42.60.21 TCP_MISS/200 4132 GET http://www.tjaereborg.de/media/TJAEREBORG_Winter_2005_ZP0133_liste_-2.jpg 194.195.126.53 ...
>

 - SQUID version ?
 - For the latest STABLE release, the following applies (squid.conf) :


#  TAG: log_ip_on_direct        on|off
#       Log the destination IP address in the hierarchy log tag when going
#       direct. Earlier Squid versions logged the hostname here. If you
#       prefer the old way set this to off.
#
#Default:
# log_ip_on_direct on

M.


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

  Powered by Linux