Search squid archive

Re: access_log none acl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24/04/2015 6:10 a.m., Yuri Voinov wrote:
> 
> http://www.squid-cache.org/Doc/config/access_log/
> 
> 23.04.15 23:25, smaku пишет:
>> Hi all,
> 
>> I dont want to log my traffic to squid in access_log.
>> That's why I add two lines to default config.
>> but when I vi or tail access.log I can see my requests:
> 
>> 1429810062.286    142 10.31.6.5 TCP_MISS/302 807 GET
> http://www.google.pl/ -
>> HIER_DIRECT/173.194.32.207 text/html
> 
> 
>> squid.conf:
>> ################################################################
> 
>> acl myacl1 src 10.31.6.5/32
>> access_log none myacl1
> 
>> #LOG - same as default
>> access_log daemon:/var/squid/logs/access.log squid
>> cache_log /var/squid/logs/cache.log
>> #ACL list
>> acl office src 10.31.6.0/24
>> #allow http
>> http_access allow office
>> http_access deny all
> 
>> ################################################################
> 
> 
>> any idea?
>> squid version 3.4.6
> 

Thank you, I found a bug in the "none" handling.

As a workaround while this gets fixed you can use this config which is
equivalent to the non-working one:

 access_log daemon:/var/squid/logs/access.log squid !myacl1

Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux