]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1.logrotate
- Order directive cames from mod_access
[packages/apache1.git] / apache1.logrotate
index 2226453c4496f00fe70d2492faab165e110d5533..0722e9e90c00c7036984b334bf8ee95c7202dfde 100644 (file)
@@ -1,27 +1,18 @@
-/var/log/httpd/access_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -USR1 httpd
-    endscript
-}
-
-/var/log/httpd/agent_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -USR1 httpd
-    endscript
-}
-
-/var/log/httpd/error_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -USR1 httpd
-    endscript
-}
-
-/var/log/httpd/referer_log {
-    olddir /var/log/archiv/httpd
-    postrotate
-       /bin/killall -USR1 httpd
-    endscript
+/var/log/apache/*access_log
+/var/log/apache/*combined_log
+/var/log/apache/*agent_log
+/var/log/apache/*error_log
+/var/log/apache/*referer_log
+/var/log/apache/ssl_engine_log
+/var/log/apache/ssl_request_log
+{
+       daily
+       rotate 28
+       missingok
+       notifempty
+       sharedscripts
+       olddir /var/log/archive/apache
+       postrotate
+               /sbin/service apache flush-logs > /dev/null
+       endscript
 }
This page took 0.030142 seconds and 4 git commands to generate.