You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2018/04/13 09:59:08 UTC
[cloudstack] branch master updated: Log command output in
CsHelper.execute command (#2568)
This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/master by this push:
new 20b93ea Log command output in CsHelper.execute command (#2568)
20b93ea is described below
commit 20b93eaa062cf74de58f1884a44cff491124824e
Author: Rafael Weingärtner <ra...@gmail.com>
AuthorDate: Fri Apr 13 06:59:01 2018 -0300
Log command output in CsHelper.execute command (#2568)
---
systemvm/debian/opt/cloud/bin/cs/CsHelper.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/systemvm/debian/opt/cloud/bin/cs/CsHelper.py b/systemvm/debian/opt/cloud/bin/cs/CsHelper.py
index 241643d..66eb577 100755
--- a/systemvm/debian/opt/cloud/bin/cs/CsHelper.py
+++ b/systemvm/debian/opt/cloud/bin/cs/CsHelper.py
@@ -188,6 +188,8 @@ def execute(command):
logging.info("Executing: %s" % command)
result = subprocess.check_output(command, shell=True)
returncode = 0
+
+ logging.debug("Command [%s] has the result [%s]" % (command, result))
return result.splitlines()
except subprocess.CalledProcessError as e:
logging.error(e)
--
To stop receiving notification emails like this one, please contact
dahn@apache.org.