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