mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
If the size directive is used, logrotate will ignore the daily, weekly, monthly, and yearly directives. remove cloud-cleanup This script does not do anything because it fails due missing /var/log/cloud directory. Logrotate is used for this functionality.
10 lines
191 B
Plaintext
10 lines
191 B
Plaintext
/var/log/haproxy.log {
|
|
rotate 5
|
|
missingok
|
|
notifempty
|
|
size 10M
|
|
postrotate
|
|
/bin/kill -HUP `cat /var/run/rsyslog.pid 2> /dev/null` 2> /dev/null || true
|
|
endscript
|
|
}
|