diff -Nur --no-dereference smeserver-yum-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32yum smeserver-yum-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32yum --- smeserver-yum-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32yum 2022-04-17 13:58:39.463000000 -0400 +++ smeserver-yum-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32yum 2022-04-17 14:05:36.196000000 -0400 @@ -1,5 +1,4 @@ - - #yum -if $programname == "yum" and ( $msg startswith " Installed" or $msg startswith " Erased" or $msg startswith " Updated" ) then stop +if $programname startswith "yum_update_dbs" then /var/log/yum/yum-update.log +& stop diff -Nur --no-dereference smeserver-yum-2.6.0.old/root/etc/logrotate.d/yum-sme smeserver-yum-2.6.0/root/etc/logrotate.d/yum-sme --- smeserver-yum-2.6.0.old/root/etc/logrotate.d/yum-sme 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-yum-2.6.0/root/etc/logrotate.d/yum-sme 2022-04-17 14:04:02.664000000 -0400 @@ -0,0 +1,15 @@ +/var/log/yum/yum.log { + missingok + notifempty + maxsize 1M + yearly + create 0600 root root +} +/var/log/yum/yum-update.log { + missingok + notifempty + maxsize 1M + weekly + create 0600 root root +} +