]> git.openstreetmap.org Git - chef.git/commitdiff
Make sure we log the real client IP on the web backends
authorTom Hughes <tom@compton.nu>
Sun, 9 Nov 2014 12:23:16 +0000 (12:23 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 9 Nov 2014 12:23:16 +0000 (12:23 +0000)
cookbooks/web/templates/default/apache.backend.erb

index 6128b322c05e429012214dce87edc2d1cdb0466b..cbe37f048e3fab893f156187c54cdd68bed00726 100644 (file)
@@ -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