summaryrefslogtreecommitdiff
path: root/meta-fii/meta-kudo/recipes-extended/rsyslog/rsyslog/rsyslog.logrotate
blob: a6ba28d8644bbee2c7aadc23717a911c9a4328e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# /etc/logrotate.d/rsyslog - Ported from Debian

# Keep up to four 64k files for ipmi_sel (256k total)
/var/log/ipmi_sel
{
    rotate 3
    size 64k
    missingok
    postrotate
        systemctl reload rsyslog 2> /dev/null || true
    endscript
}
# Keep up to four 64k files for redfish (256k total)
/var/log/redfish
{
    rotate 3
    size 64k
    missingok
    postrotate
        systemctl reload rsyslog 2> /dev/null || true
    endscript
}