diff options
Diffstat (limited to 'modules/apache')
-rw-r--r-- | modules/apache/templates/logrotate | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/apache/templates/logrotate b/modules/apache/templates/logrotate index 0ae57120..2788a942 100644 --- a/modules/apache/templates/logrotate +++ b/modules/apache/templates/logrotate @@ -1,7 +1,11 @@ /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 +<% elif @hostname == 'friteuse' %> + # The virtual disk is very small so keep log sizes down + rotate 52 + weekly <% else %> rotate <%= scope.lookupvar('apache::var::httpdlogs_rotate') %> monthly |