[squid-users] log external ip address in squid logs

--Ahmad-- ahmed.zaeem at netstream.ps
Fri Feb 16 21:50:47 UTC 2018


oh man , not sure how didnt i see it .

you correct , thank you !
> On Feb 12, 2018, at 6:34 PM, Antony Stone <Antony.Stone at squid.open.source.it> wrote:
> 
> On Monday 12 February 2018 at 16:36:58, --Ahmad-- wrote:
> 
>> Hello folks
>> 
>> i had a look on
>> http://www.squid-cache.org/Doc/config/logformat/
>> but i cant see the external ip address that used on squid
> 
>> i had a look on
>> http://www.squid-cache.org/Doc/config/logformat/
>> and did find that option .
> 
> Hm, that's confusing.
> 
>> i have this FORMAT below :
>> logformat squid %tl %6tr %>a %>p %>la %>lp %Ss/%03Hs %<st %rm %ru %un %Sh/
>> %<A %<a
> 
> I think <la is what you're looking for (and possibly <lp as well).
> 
> 
> Antony.
> 
> -- 
> You can spend the whole of your life trying to be popular,
> but at the end of the day the size of the crowd at your funeral
> will be largely dictated by the weather.
> 
> - Frank Skinner
> 
>                                                   Please reply to the list;
>                                                         please *don't* CC me.
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list