From 4b91e088ea6024d2a84ecc82a5b1b395a71f9055 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 9 Nov 2025 13:23:02 -0600 Subject: [PATCH] r/apache: Reduce amount of logs stored There's really no reason to keep 4 256 MiB log files, especially access logs. In any case, most of the web servers only have 1 GiB log volume, so this configuration tends to fill them up. --- roles/apache/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/apache/defaults/main.yml b/roles/apache/defaults/main.yml index 7c10ece..68af109 100644 --- a/roles/apache/defaults/main.yml +++ b/roles/apache/defaults/main.yml @@ -1,6 +1,6 @@ apache_mpm: event -apache_keep_num_logs: 4 -apache_max_log_size: 256M +apache_keep_num_logs: 2 +apache_max_log_size: 64M apache_error_log: syslog:daemon apache_ssl_protocol: - all