[NEW PATCH] BZ#716962 Compress logs using the xz format (via gerrit-bot)

Federico Simoncelli fsimonce at redhat.com
Wed Jun 29 12:09:21 UTC 2011


New patch submitted by Federico Simoncelli (fsimonce at redhat.com)

You can review this change at: http://gerrit.usersys.redhat.com/632

commit dfde6fa9de7e0ceee13fa7248b17d9c9b51e2ca7
Author: Federico Simoncelli <fsimonce at redhat.com>
Date:   Tue Jun 28 14:12:04 2011 +0000

    BZ#716962 Compress logs using the xz format
    
    Change-Id: I736c5e625e4d4fba8d5d7d220ee86df9f01cd7fb

diff --git a/vdsm/vdsm-logrotate.conf b/vdsm/vdsm-logrotate.conf
index 2962ce3..ef6c37c 100644
--- a/vdsm/vdsm-logrotate.conf
+++ b/vdsm/vdsm-logrotate.conf
@@ -4,12 +4,18 @@
     copytruncate
     size 15M
     compress
+    compresscmd /usr/bin/xz
+    uncompresscmd /usr/bin/unxz
+    compressext .xz
 }
 /var/log/core/*.dump {
     rotate 1
     missingok
     size 0
     compress
+    compresscmd /usr/bin/xz
+    uncompresscmd /usr/bin/unxz
+    compressext .xz
 }
 /var/log/libvirtd*.log {
     rotate 100
@@ -17,4 +23,7 @@
     copytruncate
     size 15M
     compress
+    compresscmd /usr/bin/xz
+    uncompresscmd /usr/bin/unxz
+    compressext .xz
 }




More information about the vdsm-patches mailing list