diff options
-rw-r--r-- | modules/apache/templates/logrotate | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/apache/templates/logrotate b/modules/apache/templates/logrotate index d440193f..8efa7ace 100644 --- a/modules/apache/templates/logrotate +++ b/modules/apache/templates/logrotate @@ -1,8 +1,9 @@ /var/log/httpd/*_log /var/log/httpd/apache_runtime_status /var/log/httpd/ssl_mutex { - rotate <%= scope.lookupvar('apache::var::httpdlogs_rotate') %> <% if @hostname == 'duvel' then %> + rotate 60 daily <% else %> + rotate <%= scope.lookupvar('apache::var::httpdlogs_rotate') %> monthly <% end %> missingok |