From: Grant Slater Date: Tue, 16 Sep 2025 06:39:10 +0000 (+0100) Subject: tile: add cdn-region and cdn-pop to apache logging X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain tile: add cdn-region and cdn-pop to apache logging --- diff --git a/cookbooks/tile/templates/default/apache.erb b/cookbooks/tile/templates/default/apache.erb index a45d16bcf..f8cee732f 100644 --- a/cookbooks/tile/templates/default/apache.erb +++ b/cookbooks/tile/templates/default/apache.erb @@ -59,7 +59,7 @@ <% end -%> # Setup logging - LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Dus \"%{client-geo-continent}i\" \"%{client-geo-country}i\" \"%{client-geo-proxy-description}i\" \"%{client-geo-proxy-type}i\" \"%{geo.proxy_type}i\" \"%{client-geo-conn-type}i\"" combined_fastly_tile_custom + LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Dus \"%{client-geo-continent}i\" \"%{client-geo-country}i\" \"%{client-geo-proxy-description}i\" \"%{client-geo-proxy-type}i\" \"%{client-geo-conn-type}i\" \"%{cdn-region}i\" \"%{cdn-pop}i\"" combined_fastly_tile_custom CustomLog /var/log/apache2/access.log combined_fastly_tile_custom ErrorLog /var/log/apache2/error.log