blob: b564c3812e3f80d1e95903fd0eebe227809e1160 [file] [log] [blame]
Vijay Khemkac32281b2019-08-20 11:59:14 -07001# /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 Chiu9c3efd92024-05-08 17:24:22 +080010 systemctl restart rsyslog 2> /dev/null || true
Vijay Khemkac32281b2019-08-20 11:59:14 -070011 endscript
12}
Delphine CC Chiu6dc9fed2024-05-08 17:28:08 +080013
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}