We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 644f124 commit 34737a6Copy full SHA for 34737a6
cookbooks/apache/templates/default/httpd.conf.erb
@@ -65,4 +65,8 @@ AddType application/x-xz .xz
65
BufferedLogs <%= node[:apache][:buffered_logs] ? "On" : "Off" %>
66
67
# Define an extended log format that includes request time and SSL details
68
+<% if node[:lsb][:release].to_f >= 22.04 -%>
69
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Dus %{SSL_PROTOCOL}x %{SSL_CIPHER}x" combined_extended
70
+<% else -%>
71
+LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Dus" combined_extended
72
+<% end -%>
0 commit comments