[lnst] VirtUtils: Don't log virsh output
Jiří Pírko
jirka at fedoraproject.org
Fri May 3 09:24:30 UTC 2013
commit 752723b1d91341103399b8d8232cca0018e774ba
Author: Radek Pazdera <rpazdera at redhat.com>
Date: Fri Apr 26 10:11:18 2013 +0200
VirtUtils: Don't log virsh output
The output of virsh commands was redundant as the same information is
alredy being logged, this patch will disable logging it into debug.
Signed-off-by: Radek Pazdera <rpazdera at redhat.com>
lnst/Common/VirtUtils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lnst/Common/VirtUtils.py b/lnst/Common/VirtUtils.py
index af290e5..71659ef 100644
--- a/lnst/Common/VirtUtils.py
+++ b/lnst/Common/VirtUtils.py
@@ -38,7 +38,7 @@ def _brctl(cmd):
def _virsh(cmd):
try:
- exec_cmd("virsh %s" % cmd)
+ exec_cmd("virsh %s" % cmd, log_outputs=False)
except ExecCmdFail as err:
raise VirtUtilsError("virsh error: %s" % err)
More information about the LNST-developers
mailing list