From 8cc273d28e68e03061d8232209e5fee28a7ed205 Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Thu, 23 Apr 2020 13:22:16 +0200 Subject: [PATCH] B #4557: Logrotates don't touch global defaults --- share/pkgs/logrotate/opennebula | 16 +++++++--------- share/pkgs/logrotate/opennebula-econe | 20 +++++++++----------- share/pkgs/logrotate/opennebula-flow | 20 +++++++++----------- share/pkgs/logrotate/opennebula-gate | 20 +++++++++----------- share/pkgs/logrotate/opennebula-hem | 20 +++++++++----------- share/pkgs/logrotate/opennebula-novnc | 20 +++++++++----------- share/pkgs/logrotate/opennebula-scheduler | 20 +++++++++----------- share/pkgs/logrotate/opennebula-sunstone | 20 +++++++++----------- 8 files changed, 70 insertions(+), 86 deletions(-) diff --git a/share/pkgs/logrotate/opennebula b/share/pkgs/logrotate/opennebula index d37ed3975d7..1ccd62e28f2 100644 --- a/share/pkgs/logrotate/opennebula +++ b/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 diff --git a/share/pkgs/logrotate/opennebula-econe b/share/pkgs/logrotate/opennebula-econe index 6b1668e8150..9af70eb67e2 100644 --- a/share/pkgs/logrotate/opennebula-econe +++ b/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 } diff --git a/share/pkgs/logrotate/opennebula-flow b/share/pkgs/logrotate/opennebula-flow index 9d1fd2acfea..7767a322b32 100644 --- a/share/pkgs/logrotate/opennebula-flow +++ b/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 } diff --git a/share/pkgs/logrotate/opennebula-gate b/share/pkgs/logrotate/opennebula-gate index a586d4d68ca..c15e4ee4f44 100644 --- a/share/pkgs/logrotate/opennebula-gate +++ b/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 } diff --git a/share/pkgs/logrotate/opennebula-hem b/share/pkgs/logrotate/opennebula-hem index a4e9781fbf2..eac069ae0a0 100644 --- a/share/pkgs/logrotate/opennebula-hem +++ b/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 } diff --git a/share/pkgs/logrotate/opennebula-novnc b/share/pkgs/logrotate/opennebula-novnc index 07f69163d34..9ac1d567af7 100644 --- a/share/pkgs/logrotate/opennebula-novnc +++ b/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 } diff --git a/share/pkgs/logrotate/opennebula-scheduler b/share/pkgs/logrotate/opennebula-scheduler index 07752e38099..9bdf4d26a99 100644 --- a/share/pkgs/logrotate/opennebula-scheduler +++ b/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 } diff --git a/share/pkgs/logrotate/opennebula-sunstone b/share/pkgs/logrotate/opennebula-sunstone index 945885b7445..84eb47b111b 100644 --- a/share/pkgs/logrotate/opennebula-sunstone +++ b/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 }