apache: buffer logs by default
authorGrant Slater <git@firefishy.com>
Thu, 27 Feb 2014 16:06:28 +0000 (16:06 +0000)
committerGrant Slater <git@firefishy.com>
Thu, 27 Feb 2014 16:06:28 +0000 (16:06 +0000)
cookbooks/apache/attributes/default.rb
cookbooks/apache/templates/default/httpd.conf.erb

index 41779d7d7f40c299b5f0ffa5b0ad884006c06c88..469a1a90d9fe9269fcc78f1fb6f29d3248c9f26c 100644 (file)
@@ -29,3 +29,5 @@ default[:apache][:event][:max_requests_per_child] = 0
 default[:apache][:listen_address] = "*"
 
 default[:apache][:ssl][:certificate] = "openstreetmap"
+
+default[:apache][:buffered_logs] = true
index 0361ffd86a4f0bcdb0c45f8303da7466def1c732..73e59c7256e6d297df9f9925350f9913537a9c08 100644 (file)
@@ -48,3 +48,5 @@ MaxRequestsPerChild <%= node[:apache][:event][:max_requests_per_child] %>
 
 # Default to UTF-8
 AddDefaultCharset utf-8
+
+BufferedLogs <%= node[:apache][:buffered_logs] ? "On" : "Off" %>