aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apache/templates/logrotate')
-rw-r--r--modules/apache/templates/logrotate9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/apache/templates/logrotate b/modules/apache/templates/logrotate
index 0ae57120..823989eb 100644
--- a/modules/apache/templates/logrotate
+++ b/modules/apache/templates/logrotate
@@ -1,7 +1,14 @@
/var/log/httpd/*_log /var/log/httpd/apache_runtime_status /var/log/httpd/ssl_mutex {
-<% if @hostname == 'duvel' then %>
+<% if @hostname == 'duvel' %>
rotate 60
daily
+<% elsif @hostname == 'friteuse' %>
+ # The virtual disk is very small so keep log sizes down
+ rotate 26
+ weekly
+<% elsif @hostname == 'sucuk' %>
+ rotate 52
+ weekly
<% else %>
rotate <%= scope.lookupvar('apache::var::httpdlogs_rotate') %>
monthly