summaryrefslogtreecommitdiff
path: root/src/etc/logrotate.d/vyos-rsyslog
blob: 28ea088e2d75cf3a15f6cbbaf7ec7e1dcc330d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/var/log/messages {
    create
    missingok
    nomail
    notifempty
    rotate 10
    size 262144
    postrotate
        # inform rsyslog service about rotation
        /usr/lib/rsyslog/rsyslog-rotate
    endscript
}