haproxy-wi/app/scripts/ansible/roles/haproxy/templates/logrotate-debian.conf.j2

36 lines
689 B
Plaintext
Raw Normal View History

2023-12-22 22:43:46 +00:00
/var/log/haproxy/access.log {
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
[ ! -x /usr/lib/rsyslog/rsyslog-rotate ] || /usr/lib/rsyslog/rsyslog-rotate
endscript
}
/var/log/haproxy/error.log {
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
[ ! -x /usr/lib/rsyslog/rsyslog-rotate ] || /usr/lib/rsyslog/rsyslog-rotate
endscript
}
/var/log/haproxy/status.log {
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
[ ! -x /usr/lib/rsyslog/rsyslog-rotate ] || /usr/lib/rsyslog/rsyslog-rotate
endscript
}