render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
Mark McLoughlin 4ab5ad
From bcd4180124afa20580d720912e2179b3a2f9295a Mon Sep 17 00:00:00 2001
Mark McLoughlin 4ab5ad
From: Daniel Veillard <veillard@redhat.com>
Mark McLoughlin 4ab5ad
Date: Mon, 5 Oct 2009 17:03:14 +0200
Mark McLoughlin 4ab5ad
Subject: [PATCH] 526769 change logrotate config default to weekly
Mark McLoughlin 4ab5ad
Mark McLoughlin 4ab5ad
* daemon/libvirtd.logrotate.in: change to weekly rotation of logs,
Mark McLoughlin 4ab5ad
  keep a month worth of data and also extend to cover LXC and UML
Mark McLoughlin 4ab5ad
  domain logs
Mark McLoughlin 4ab5ad
Mark McLoughlin 4ab5ad
(cherry picked from commit 529325bbdd050af89bda5a5c1a01b5553c49a57e)
Mark McLoughlin 4ab5ad
Mark McLoughlin 4ab5ad
Fedora-patch: libvirt-change-logrotate-config-to-weekly.patch
Mark McLoughlin 4ab5ad
---
Mark McLoughlin 4ab5ad
 qemud/libvirtd.logrotate.in |    6 +++---
Mark McLoughlin 4ab5ad
 1 files changed, 3 insertions(+), 3 deletions(-)
Mark McLoughlin 4ab5ad
Mark McLoughlin 4ab5ad
diff --git a/qemud/libvirtd.logrotate.in b/qemud/libvirtd.logrotate.in
Mark McLoughlin 4ab5ad
index 9b42630..093651c 100644
Mark McLoughlin 4ab5ad
--- a/qemud/libvirtd.logrotate.in
Mark McLoughlin 4ab5ad
+++ b/qemud/libvirtd.logrotate.in
Mark McLoughlin 4ab5ad
@@ -1,7 +1,7 @@
Mark McLoughlin 4ab5ad
-@localstatedir@/log/libvirt/qemu/*.log {
Mark McLoughlin 4ab5ad
-        daily
Mark McLoughlin 4ab5ad
+@localstatedir@/log/libvirt/qemu/*.log @localstatedir@/log/libvirt/uml/*.log @localstatedir@/log/libvirt/lxc/*.log {
Mark McLoughlin 4ab5ad
+        weekly
Mark McLoughlin 4ab5ad
         missingok
Mark McLoughlin 4ab5ad
-        rotate 7
Mark McLoughlin 4ab5ad
+        rotate 4
Mark McLoughlin 4ab5ad
         compress
Mark McLoughlin 4ab5ad
         delaycompress
Mark McLoughlin 4ab5ad
         copytruncate
Mark McLoughlin 4ab5ad
-- 
Mark McLoughlin 4ab5ad
1.6.2.5
Mark McLoughlin 4ab5ad