From 59edf19179b1bd0b0f7f302a2021c35ee74ea2f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Tue, 13 Apr 2004 19:36:05 +0000 Subject: [PATCH] - rotate all logs, virtuals too Changed files: apache.logrotate -> 1.7 --- apache.logrotate | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apache.logrotate b/apache.logrotate index b180731..350860e 100644 --- a/apache.logrotate +++ b/apache.logrotate @@ -1,25 +1,25 @@ -/var/log/httpd/access_log { +/var/log/httpd/*access_log { olddir /var/log/archiv/httpd postrotate /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true endscript } -/var/log/httpd/agent_log { +/var/log/httpd/*agent_log { olddir /var/log/archiv/httpd postrotate /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true endscript } -/var/log/httpd/error_log { +/var/log/httpd/*error_log { olddir /var/log/archiv/httpd postrotate /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true endscript } -/var/log/httpd/referer_log { +/var/log/httpd/*referer_log { olddir /var/log/archiv/httpd postrotate /etc/rc.d/init.d/httpd graceful > /dev/null 2>&1 || /bin/true -- 2.44.0