X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/fba6ad6ff59b598fd3befceaa3a70f33e6f0dcbb..59899933a1b22ff9e35a50730ea5eebf9dcfc6a6:/cookbooks/squid/templates/default/squid.conf.erb diff --git a/cookbooks/squid/templates/default/squid.conf.erb b/cookbooks/squid/templates/default/squid.conf.erb index 8bf4ef100..e615f887b 100644 --- a/cookbooks/squid/templates/default/squid.conf.erb +++ b/cookbooks/squid/templates/default/squid.conf.erb @@ -80,6 +80,10 @@ http_access deny purge forwarded_for on +#Loggin used for analysis +logformat zerelog %ts.%03tu %rp "%{Etag}a "%{User-Agent}>h" +access_log /var/log/squid/zere.log zerelog + access_log <%= node[:squid][:access_log] %> cache_log /var/log/squid/cache.log cache_store_log none @@ -87,7 +91,7 @@ buffered_logs on client_db off strip_query_terms off -digest_generation off +digest_generation on refresh_pattern . 0 20% 4320