[squid-users] External ACL TTL not working as expected

Alberto Perez alberto2perez at gmail.com
Sat Jan 31 18:05:15 UTC 2015


Thank you again Amos,
it was the order, I didn't notice those lines where above ACLs
definition, is a huge config file and old version had it in the right
place so I didn't notice I altered the order in this config file.

Its good now, finally I used

access_log none ip_upredes
access_log stdio:/var/log/squid3/access.log  squid

Because I will be skipping logging for other ACLs

Thanks a lot for your help.

Good Bless you.

Have a nice weekend.

Alberto





On 1/31/15, Amos Jeffries <squid3 at treenet.co.nz> wrote:
> On 31/01/2015 5:14 p.m., Alberto Perez wrote:
>> Amos,
>> You rock it,
>> Thanks a lot, now its working pretty well.
>>
>> I was partialy aware of PHP limitation when used to build external
>> helpers any way I gave it not too much importance since was working
>> fine, I will rewrite code in python ASAP, I appreciate your
>> recommendations.
>>
>> Please if is not too much to ask, I will like to ask you about another
>> issue I have not been able to make it work, im trying to skip access
>> logging of a subnet, in old versions of squid (3.1) I was using the
>> following configuration
>>
>>
>> acl ip_upredes src 10.2.100.0/24
>>
>> log_access deny ip_upredes
>> log_access allow all
>>
>>
>> As of squid 3.4 log_access directive was no longer available I was
>> trying to change to
>>
>> cache_access_log stdio:/var/log/squid3/access.log
>> cache_store_log stdio:/var/log/squid3/store.log
>> access_log none ip_upredes
>>
>
> That should be:
>
>  access_log stdio:/var/log/squid3/access.log squid !ip_upredes
>
> Amos
>
> _______________________________________________
> 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