私が/etc/logrotate.d/yumで使用している設定です。 logrotateの設定、rsyslogの設定に依存しています。
1 2 3 4 5
- !
# 1ヶ月分保存 /var/log/yum/log { create 0600 root root }