[squid-users] Fwd: access.log destinatin server ip

From: Manuel Ramirez Montero <manuel.ramirez_at_grupoica.com>
Date: Fri, 29 Aug 2014 13:43:27 +0200

---------- Forwarded message ----------
From: Manuel Ramirez Montero <manuel.ramirez_at_grupoica.com>
Date: 2014-08-29 13:40 GMT+02:00
Subject: access.log destinatin server ip
To: squid-users_at_squid-cache.org

Hi,

first of all i would like to excuse my limited English.I´m newby with
Squid and i need to see in the access.log the destination server ip.
My squid version is 2.7.
I have this logformat directive:

logformat ipdestino %>a %ui %un [%tl] %<A "%rm %ru HTTP/%rv" %Hs %<st %Ss:%Sh
cache_access_log /logs_squid/access.log ipdestino.

With this logformat i see the destination ip but sometimes, in some
log lines , this value is not showed:

10.23.11.243 - user[29/Aug/2014:13:23:33 +0200] - "GET
http://www.cassa.cat/taps/templates/business_pro/images/s5_scroll_arrow.png
 HTTP/1.1" 304 324 TCP_IMS_HIT:NONE
10.23.11.243 - user [29/Aug/2014:13:23:33 +0200] 37.152.88.16 "GET
http://www.cassa.cat/taps/templates/business_pro/js/s5_columns_equalizer.js
 HTTP/1.1" 304 261 TCP_MISS:DIRECT

What is the reason in the first line the destination ip is not
displayed and in the next line yes?

Thanks in advance

Regards
Received on Fri Aug 29 2014 - 11:43:34 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 29 2014 - 12:00:07 MDT