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

--Ahmad-- ahmed.zaeem at netstream.ps
Mon Feb 12 15:36:58 UTC 2018


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 %<st %rm %ru %un %Sh/ %<A %<a

hope to help 

cheers 



More information about the squid-users mailing list