log requested hostname in www-other.debian.org-access.log
authorPeter Palfrader <peter@palfrader.org>
Fri, 17 Feb 2017 12:31:59 +0000 (13:31 +0100)
committerPeter Palfrader <peter@palfrader.org>
Fri, 17 Feb 2017 12:31:59 +0000 (13:31 +0100)
modules/roles/templates/apache-www.debian.org.erb

index 3077114..dad8375 100644 (file)
    ServerAlias newwww.deb.at
 
    DocumentRoot <%= wwwdo_document_root %>/
+   LogFormat "0.0.0.0 - %u %{[%d/%b/%Y:00:00:00 %z]}t \"%r\" %>s %b \"%{Referer}i\" \"-\" %V" privacy+host
    ErrorLog /var/log/apache2/www-other.debian.org-error.log
-   CustomLog /var/log/apache2/www-other.debian.org-access.log privacy
+   CustomLog /var/log/apache2/www-other.debian.org-access.log privacy+host
 </Macro>
 
 <Macro common-www.d.o>