From 8c42c3bb2fbe64e409aafe13cd62c68bc21ad203 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 17 Dec 2007 09:33:44 +0000 Subject: [PATCH] - rotate apache logs daily Changed files: apache1.logrotate -> 1.11 --- apache1.logrotate | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/apache1.logrotate b/apache1.logrotate index eb511b5..8f92945 100644 --- a/apache1.logrotate +++ b/apache1.logrotate @@ -6,9 +6,13 @@ /var/log/apache/ssl_engine_log /var/log/apache/ssl_request_log { + daily + rotate 7 + missingok + notifempty sharedscripts - olddir /var/log/archive/apache - postrotate + olddir /var/log/archive/apache + postrotate /sbin/service apache flush-logs > /dev/null - endscript + endscript } -- 2.44.0