Skip to content

Commit

Permalink
B OpenNebula#4557: Logrotates don't touch global defaults (OpenNebula…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlastimil Holer committed Apr 23, 2020
1 parent f56ed90 commit 3a1fb4a
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 86 deletions.
16 changes: 7 additions & 9 deletions share/pkgs/logrotate/opennebula
@@ -1,12 +1,10 @@
delaycompress
dateext
dateformat -%Y%m%d-%s

compress
weekly
rotate 52

/var/log/one/one_xmlrpc.log /var/log/one/oned.log {
/var/log/one/one_xmlrpc.log /var/log/one/oned.log /var/log/one/monitor.log {
delaycompress
dateext
dateformat -%Y%m%d-%s
compress
weekly
rotate 52
missingok
notifempty
copytruncate
Expand Down
20 changes: 9 additions & 11 deletions share/pkgs/logrotate/opennebula-econe
@@ -1,13 +1,11 @@
delaycompress
dateext
dateformat -%Y%m%d-%s

compress
weekly
rotate 52

/var/log/one/econe-server.log {
missingok
notifempty
copytruncate
delaycompress
dateext
dateformat -%Y%m%d-%s
compress
weekly
rotate 52
missingok
notifempty
copytruncate
}
20 changes: 9 additions & 11 deletions share/pkgs/logrotate/opennebula-flow
@@ -1,13 +1,11 @@
delaycompress
dateext
dateformat -%Y%m%d-%s

compress
weekly
rotate 52

/var/log/one/oneflow.log {
missingok
notifempty
copytruncate
delaycompress
dateext
dateformat -%Y%m%d-%s
compress
weekly
rotate 52
missingok
notifempty
copytruncate
}
20 changes: 9 additions & 11 deletions share/pkgs/logrotate/opennebula-gate
@@ -1,13 +1,11 @@
delaycompress
dateext
dateformat -%Y%m%d-%s

compress
weekly
rotate 52

/var/log/one/onegate.log {
missingok
notifempty
copytruncate
delaycompress
dateext
dateformat -%Y%m%d-%s
compress
weekly
rotate 52
missingok
notifempty
copytruncate
}
20 changes: 9 additions & 11 deletions share/pkgs/logrotate/opennebula-hem
@@ -1,13 +1,11 @@
delaycompress
dateext
dateformat -%Y%m%d-%s

compress
weekly
rotate 52

/var/log/one/onehem.log {
missingok
notifempty
copytruncate
delaycompress
dateext
dateformat -%Y%m%d-%s
compress
weekly
rotate 52
missingok
notifempty
copytruncate
}
20 changes: 9 additions & 11 deletions share/pkgs/logrotate/opennebula-novnc
@@ -1,13 +1,11 @@
delaycompress
dateext
dateformat -%Y%m%d-%s

compress
weekly
rotate 52

/var/log/one/novnc.log {
missingok
notifempty
copytruncate
delaycompress
dateext
dateformat -%Y%m%d-%s
compress
weekly
rotate 52
missingok
notifempty
copytruncate
}
20 changes: 9 additions & 11 deletions share/pkgs/logrotate/opennebula-scheduler
@@ -1,13 +1,11 @@
delaycompress
dateext
dateformat -%Y%m%d-%s

compress
weekly
rotate 52

/var/log/one/sched.log {
missingok
notifempty
copytruncate
delaycompress
dateext
dateformat -%Y%m%d-%s
compress
weekly
rotate 52
missingok
notifempty
copytruncate
}
20 changes: 9 additions & 11 deletions share/pkgs/logrotate/opennebula-sunstone
@@ -1,13 +1,11 @@
delaycompress
dateext
dateformat -%Y%m%d-%s

compress
weekly
rotate 52

/var/log/one/sunstone.log {
missingok
notifempty
copytruncate
delaycompress
dateext
dateformat -%Y%m%d-%s
compress
weekly
rotate 52
missingok
notifempty
copytruncate
}

0 comments on commit 3a1fb4a

Please sign in to comment.