This makes easier to run multiple instances, each one writing to
different files.

OK?
From ce03b3b44a8e19eee089a2ee50839cfa999dd911 Mon Sep 17 00:00:00 2001
From: "Federico G. Schwindt" <[email protected]>
Date: Fri, 7 Aug 2015 16:53:56 +0100
Subject: [PATCH] Specify the full path of the logs

This makes easier to run multiple instances, each one writing to
different files.
---
 redhat/varnish.logrotate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/redhat/varnish.logrotate b/redhat/varnish.logrotate
index 535614d..f214d1b 100644
--- a/redhat/varnish.logrotate
+++ b/redhat/varnish.logrotate
@@ -1,4 +1,4 @@
-/var/log/varnish/*.log {
+/var/log/varnish/varnish.log /var/log/varnish/varnishncsa.log {
     missingok
     notifempty
     sharedscripts
-- 
2.1.4

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to