[node-patches] Change in ovirt-node[master]: installer: don't remove log2 directory when merging log file...

jboggs at redhat.com jboggs at redhat.com
Mon Aug 27 13:38:04 UTC 2012


Joey Boggs has uploaded a new change for review.

Change subject: installer: don't remove log2 directory when merging log files
......................................................................

installer: don't remove log2 directory when merging log files

Change-Id: Ie4f85d5cd59a8e41dfaba143a961caba4d43c12d
Signed-off-by: Joey Boggs <jboggs at redhat.com>
---
M scripts/ovirtnode/ovirtfunctions.py
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/04/7504/1

diff --git a/scripts/ovirtnode/ovirtfunctions.py b/scripts/ovirtnode/ovirtfunctions.py
index 8b0b9f3..c04352f 100644
--- a/scripts/ovirtnode/ovirtfunctions.py
+++ b/scripts/ovirtnode/ovirtfunctions.py
@@ -552,7 +552,6 @@
     if os.path.exists("/tmp/ovirt.log"):
         system_closefds("{ echo 'BEGIN of temporary log' ; cat /tmp/ovirt.log; echo 'END of temporary log' ; } &>> %s/ovirt.log" % (log2))
     system_closefds("mount --move %s /var/log &>/dev/null" % log2)
-    shutil.rmtree(log2)
     system_closefds("restorecon -r /var/log &>/dev/null")
     for srv in logging_services:
         system_closefds("service " + srv + " start &>/dev/null")


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4f85d5cd59a8e41dfaba143a961caba4d43c12d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>



More information about the node-patches mailing list