[NEW PATCH] BZ#720670 vdsm-reg: rotate and compress correct log file (via gerrit-bot)
Dan Kenigsberg
danken at redhat.com
Wed Jul 13 22:54:46 UTC 2011
New patch submitted by Dan Kenigsberg (danken at redhat.com)
You can review this change at: http://gerrit.usersys.redhat.com/694
commit 8487a77a8de97d57fefc4d5db88640f7442e7a54
Author: Robert Munilla <rmunilla at redhat.com>
Date: Tue Jul 12 16:58:03 2011 +0300
BZ#720670 vdsm-reg: rotate and compress correct log file
Change-Id: Ic950727ba692317be5172053e5e62d01805b7ecd
diff --git a/vdsm_reg/vdsm-reg-logrotate.conf b/vdsm_reg/vdsm-reg-logrotate.conf
index 45572d7..d84bf15 100644
--- a/vdsm_reg/vdsm-reg-logrotate.conf
+++ b/vdsm_reg/vdsm-reg-logrotate.conf
@@ -4,8 +4,12 @@
maxage 30
}
-/var/log/vdsm-reg/vds-reg.log {
+/var/log/vdsm-reg/vdsm-reg.log {
rotate 3
missingok
- size=10M
+ size 10M
+ compress
+ compresscmd /usr/bin/xz
+ uncompresscmd /usr/bin/unxz
+ compressext .xz
}
More information about the vdsm-patches
mailing list