X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0457132a07ccb7a507d2392fb8e7ce8b1e114e93..426929d413ee6b334ed1c5f3b5e46689055a641f:/cookbooks/squid/templates/default/squid.conf.erb?ds=sidebyside diff --git a/cookbooks/squid/templates/default/squid.conf.erb b/cookbooks/squid/templates/default/squid.conf.erb index 275f28206..fe8ed7853 100644 --- a/cookbooks/squid/templates/default/squid.conf.erb +++ b/cookbooks/squid/templates/default/squid.conf.erb @@ -9,6 +9,7 @@ max_filedescriptors 65536 http_port 3128 #ICP icp_port 3130 +log_icp_queries off #FIXME - configurable http_port 80 accel defaultsite=tile.openstreetmap.org tcpkeepalive=60,10,6 http11 @@ -20,6 +21,8 @@ cache_effective_group proxy cache_dir <%= node[:squid][:cache_dir] %> cache_swap_log /var/spool/squid/%s +cache_mgr webmaster@openstreetmap.org + quick_abort_min 0 KB quick_abort_max 0 KB @@ -80,6 +83,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