Commits

Ian Bicking committed 408fa37

fix access log format

  • Participants
  • Parent commits 04a2633
  • Branches trunk

Comments (0)

Files changed (1)

File silverlining/server-root/etc/apache2/sites-enabled/wsgi_runner

 
         ## FIXME: %l and %u are always -; why bother?
         # 10.5.2.1 - - [Date] "GET /foo HTTP/1.1" 200 9430 "http://ref" "Mozilla/blah" thisserver.com "some_app" 103000
-        LogFormat "%{SILVER_FORWARDED}e %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %v \"%{SILVER_APP_NAME}e\" %D" wsgi_combined
+        LogFormat "%{SILVER_FORWARDED}e %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %{HTTP_HOST}e \"%{SILVER_APP_NAME}e\" %D" wsgi_combined
 	CustomLog /var/log/apache2/access.log wsgi_combined
 
 ## Python/WSGI setup: