This is disturbing on staging instance where is small disk. We often have to cleanup the logs manually.
12 lines
224 B
Text
12 lines
224 B
Text
# managed by Ansible
|
|
|
|
/var/log/httpd/*log {
|
|
missingok
|
|
compress
|
|
rotate 5
|
|
notifempty
|
|
sharedscripts
|
|
postrotate
|
|
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
|
|
endscript
|
|
}
|