CLOUDSTACK-7185: Change Apache2 log rotation policy to avoid memory leak

This commit is contained in:
Sheng Yang 2014-07-25 14:02:44 -07:00
parent 4746f93038
commit 2ff7b846fd
1 changed files with 7 additions and 11 deletions

View File

@ -1,13 +1,9 @@
/var/log/apache2/*.log {
daily
missingok
rotate 5
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
/etc/init.d/apache2 reload > /dev/null
endscript
missingok
copytruncate
rotate 3
compress
dateext
size=+10M
notifempty
}