]> git.openstreetmap.org Git - chef.git/commitdiff
Log SSL protocol and cipher details for web requests
authorTom Hughes <tom@compton.nu>
Fri, 17 Jul 2015 23:19:07 +0000 (00:19 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 17 Jul 2015 23:19:07 +0000 (00:19 +0100)
cookbooks/web/templates/default/apache.backend.erb
cookbooks/web/templates/default/apache.frontend.erb

index 4380f5ca7b8e6ac0d38c7e631e411955e5097ddd..ea96d205f87baf882cd7c8b05ee0ceacb46ba7e7 100644 (file)
@@ -19,7 +19,7 @@
   #
   # Setup logging
   #
-  LogFormat "%a %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 %{SSL_PROTOCOL}x %{SSL_CIPHER}x" combined_with_time
   CustomLog /var/log/apache2/access.log combined_with_time
   ErrorLog /var/log/apache2/error.log
 
index d0260be3dcdfba512676dfbc4419e60e71c7ba02..6525d1abe6a4bdb56594e824308239864ef6c272 100644 (file)
@@ -20,7 +20,7 @@
   #
   # Setup logging
   #
-  LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Ts" combined_with_time
+  LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Ts %{SSL_PROTOCOL}x %{SSL_CIPHER}x" combined_with_time
   CustomLog /var/log/apache2/access.log combined_with_time
   ErrorLog /var/log/apache2/error.log