Merge release branch 4.8 to 4.9

* 4.8:
  CLOUDSTACK-9746 system-vm: logrotate config causes critical failures
This commit is contained in:
Rajani Karuturi 2017-02-28 05:45:31 +05:30
commit b95bf8fcd8
7 changed files with 9 additions and 11 deletions

View File

@ -4,6 +4,6 @@
rotate 3
compress
dateext
size 10M
maxsize 10M
notifempty
}

View File

@ -15,8 +15,8 @@
# specific language governing permissions and limitations
# under the License.
/var/log/cloud.log {
rotate 4
size 10M
rotate 10
maxsize 10M
missingok
notifempty
compress

View File

@ -1,5 +1,5 @@
/var/log/conntrackd-stats.log {
size 10M
maxsize 10M
rotate 2
missingok
compress

View File

@ -1,5 +1,5 @@
/var/log/dnsmasq.log {
size 10M
maxsize 10M
missingok
rotate 5
notifempty

View File

@ -2,7 +2,7 @@
rotate 5
missingok
notifempty
size 10M
maxsize 10M
postrotate
/bin/kill -HUP `cat /var/run/rsyslog.pid 2> /dev/null` 2> /dev/null || true
endscript

View File

@ -1,5 +1,5 @@
/var/log/ppp-connect-errors {
size 10M
maxsize 10M
rotate 5
missingok
notifempty

View File

@ -1,10 +1,9 @@
/var/log/syslog
{
rotate 7
size 50M
maxsize 10M
missingok
notifempty
delaycompress
compress
postrotate
/usr/sbin/invoke-rc.d rsyslog rotate > /dev/null
@ -25,11 +24,10 @@
/var/log/messages
{
rotate 10
size 50M
maxsize 10M
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
/usr/sbin/invoke-rc.d rsyslog rotate > /dev/null