packages: varnish/varnish.logrotate - list each logfile for easier distinguish

glen glen at pld-linux.org
Wed Nov 18 16:17:32 CET 2009


Author: glen                         Date: Wed Nov 18 15:17:32 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- list each logfile for easier distinguish

---- Files affected:
packages/varnish:
   varnish.logrotate (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/varnish/varnish.logrotate
diff -u packages/varnish/varnish.logrotate:1.2 packages/varnish/varnish.logrotate:1.3
--- packages/varnish/varnish.logrotate:1.2	Mon Jul 20 15:34:13 2009
+++ packages/varnish/varnish.logrotate	Wed Nov 18 16:17:27 2009
@@ -1,10 +1,12 @@
-/var/log/varnish/*.log {
-    missingok
-    notifempty
-    sharedscripts
+/var/log/varnish/access.log
+/var/log/varnish/varnish.log
+{
+	missingok
+	notifempty
+	sharedscripts
 	olddir /var/log/archive/varnish
-    postrotate
-        kill -HUP `cat /var/run/varnish/varnishlog.pid 2>/dev/null` 2> /dev/null || :
+	postrotate
+		kill -HUP `cat /var/run/varnish/varnishlog.pid 2>/dev/null` 2> /dev/null || :
 		kill -HUP `cat /var/run/varnish/varnishncsa.pid 2>/dev/null` 2> /dev/null || :
-    endscript
+	endscript
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/varnish/varnish.logrotate?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list