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

2018-02-16 Thread --Ahmad--
oh man , not sure how didnt i see it .

you correct , thank you !
> On Feb 12, 2018, at 6:34 PM, Antony Stone  
> 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 %> % 
> I think  
> 
> 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@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


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

2018-02-12 Thread Antony Stone
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 % %http://lists.squid-cache.org/listinfo/squid-users


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

2018-02-12 Thread --Ahmad--
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 



say i have 10 ips with 10 ports

i would like to see the logs file with the external ip address that is matched 
with the acl ==> tcp_outgoing_address x.x.x.x yyy


i had a look on 

http://www.squid-cache.org/Doc/config/logformat/
and did find that option .


i have this FORMAT below :
logformat squid %tl %6tr %>a %>p %>la %>lp %Ss/%03Hs %http://lists.squid-cache.org/listinfo/squid-users