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