BufferedLogs <%= node[:apache][:buffered_logs] ? "On" : "Off" %>
# Define an extended log format that includes request time and SSL details
-<% if node[:lsb][:release].to_f >= 22.04 -%>
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Dus %{SSL_PROTOCOL}x %{SSL_CIPHER}x" combined_extended
-<% else -%>
-LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Dus" combined_extended
-<% end -%>