[node-patches] Change in ovirt-node[master]: system: Log failing services silently

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Oct 30 14:17:25 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: system: Log failing services silently
......................................................................

system: Log failing services silently

Change-Id: I41e069bc19499f7f7bb41c99cc9dc81192ebaff0
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/utils/system.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/07/20707/1

diff --git a/src/ovirt/node/utils/system.py b/src/ovirt/node/utils/system.py
index 7613f0f..d8dc35d 100644
--- a/src/ovirt/node/utils/system.py
+++ b/src/ovirt/node/utils/system.py
@@ -120,7 +120,8 @@
         r = process.check_output(["service", name, cmd], **kwargs)
     except process.CalledProcessError as e:
         r = e.returncode
-        LOGGER.exception("Service: %s" % e.output)
+        LOGGER.debug("Service cmd failed: %s %s" % (name,cmd), exc_info=True)
+        LOGGER.debug("Service output: %s" % e.output)
         if do_raise:
             raise
     return r


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I41e069bc19499f7f7bb41c99cc9dc81192ebaff0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list