[node-patches] Change in ovirt-node[master]: Ensure log rotation happens

rbarry at redhat.com rbarry at redhat.com
Wed Jun 19 19:34:40 UTC 2013


Ryan Barry has uploaded a new change for review.

Change subject: Ensure log rotation happens
......................................................................

Ensure log rotation happens

Previously, we called logrotate on explicit files rather than the
main config, but these files did not include any logrotate
directives, so logs were not rotated. This fix is a kludge while
a more thorough logging solution is planned.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=975518
Change-Id: Id3c479b81eea023d11cbc65fb1814fd886ffedc7
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M logrotate/ovirt-logrotate
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/01/15901/1

diff --git a/logrotate/ovirt-logrotate b/logrotate/ovirt-logrotate
index e38940b..ddb94ad 100644
--- a/logrotate/ovirt-logrotate
+++ b/logrotate/ovirt-logrotate
@@ -1,3 +1,2 @@
 # Run each log rotation every 10 minutes
-*/10 * * * * root /usr/sbin/logrotate /etc/logrotate.d/ovirt-node
-*/10 * * * * root /usr/sbin/logrotate /etc/logrotate.d/syslog
+*/10 * * * * root /usr/sbin/logrotate /etc/logrotate.conf


-- 
To view, visit http://gerrit.ovirt.org/15901
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id3c479b81eea023d11cbc65fb1814fd886ffedc7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list