Vijay Khemka | c32281b | 2019-08-20 11:59:14 -0700 | [diff] [blame] | 1 | # /etc/logrotate.d/rsyslog - Ported from Debian |
| 2 | |
| 3 | # Keep up to four 64k files for ipmi_sel (256k total) |
| 4 | /var/log/ipmi_sel |
| 5 | { |
| 6 | rotate 3 |
| 7 | size 64k |
| 8 | missingok |
| 9 | postrotate |
Delphine CC Chiu | 9c3efd9 | 2024-05-08 17:24:22 +0800 | [diff] [blame] | 10 | systemctl restart rsyslog 2> /dev/null || true |
Vijay Khemka | c32281b | 2019-08-20 11:59:14 -0700 | [diff] [blame] | 11 | endscript |
| 12 | } |
Delphine CC Chiu | 6dc9fed | 2024-05-08 17:28:08 +0800 | [diff] [blame] | 13 | |
| 14 | # Keep up to four 64k files for redfish (256k total) |
| 15 | /var/log/redfish |
| 16 | { |
| 17 | rotate 3 |
| 18 | size 64k |
| 19 | missingok |
| 20 | postrotate |
| 21 | systemctl restart rsyslog 2> /dev/null || true |
| 22 | endscript |
| 23 | } |