mirror of https://github.com/Aidaho12/haproxy-wi
36 lines
689 B
Django/Jinja
36 lines
689 B
Django/Jinja
/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
|
|
}
|