Add byte counts to tile logs
authorTom Hughes <tom@compton.nu>
Sun, 25 Jan 2015 12:24:03 +0000 (12:24 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 25 Jan 2015 12:24:03 +0000 (12:24 +0000)
cookbooks/squid/templates/default/squid.conf.erb

index fe8ed78..53f84f8 100644 (file)
@@ -84,7 +84,7 @@ http_access deny purge
 forwarded_for on
 
 #Loggin used for analysis
-logformat zerelog %ts.%03tu %rp "%{Etag}<h" %>a "%{User-Agent}>h"
+logformat zerelog %ts.%03tu %rp "%{Etag}<h" %>a "%{User-Agent}>h" %<st
 access_log /var/log/squid/zere.log zerelog
 
 access_log <%= node[:squid][:access_log] %>