2023-12-16 07:15:59 +00:00
|
|
|
/var/log/haproxy/access.log {
|
2021-01-05 19:05:42 +00:00
|
|
|
daily
|
|
|
|
rotate 10
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
compress
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
|
|
|
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
|
|
|
/bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
|
|
|
|
endscript
|
2023-12-16 07:15:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/var/log/haproxy/error.log {
|
|
|
|
daily
|
|
|
|
rotate 10
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
compress
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
|
|
|
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
|
|
|
/bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
|
|
|
|
endscript
|
|
|
|
}
|
|
|
|
|
|
|
|
/var/log/haproxy/status.log {
|
|
|
|
daily
|
|
|
|
rotate 10
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
compress
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
|
|
|
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
|
|
|
|
/bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
|
|
|
|
endscript
|
|
|
|
}
|