From: Tom Hughes Date: Sun, 9 Nov 2014 12:23:16 +0000 (+0000) Subject: Make sure we log the real client IP on the web backends X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/b20fd2a506d32067716e1d637ed3bf1f87cffe92 Make sure we log the real client IP on the web backends --- diff --git a/cookbooks/web/templates/default/apache.backend.erb b/cookbooks/web/templates/default/apache.backend.erb index 6128b322c..cbe37f048 100644 --- a/cookbooks/web/templates/default/apache.backend.erb +++ b/cookbooks/web/templates/default/apache.backend.erb @@ -19,7 +19,7 @@ # # Setup logging # - LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Ts" combined_with_time + LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Ts" combined_with_time CustomLog /var/log/apache2/access.log combined_with_time ErrorLog /var/log/apache2/error.log