yifengyou / rpms / yum

Forked from rpms/yum 3 years ago
Clone

Blame SOURCES/BZ-1506890-logrotate-change-size-to-maxsize.patch

5e9bef
commit d0ec7d920c1c84f70840d653770417310c397309
5e9bef
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com>
5e9bef
Date:   Thu Apr 3 10:03:12 2014 +0200
5e9bef
5e9bef
    Change 'size' option to 'maxsize' in yum.logrotate. BZ 1005879
5e9bef
5e9bef
diff --git a/etc/yum.logrotate b/etc/yum.logrotate
5e9bef
index e587f968..e716c01e 100644
5e9bef
--- a/etc/yum.logrotate
5e9bef
+++ b/etc/yum.logrotate
5e9bef
@@ -1,7 +1,7 @@
5e9bef
 /var/log/yum.log {
5e9bef
     missingok
5e9bef
     notifempty
5e9bef
-    size 30k
5e9bef
+    maxsize 30k
5e9bef
     yearly
5e9bef
     create 0600 root root
5e9bef
 }