From 20b93eaa062cf74de58f1884a44cff491124824e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Weing=C3=A4rtner?= Date: Fri, 13 Apr 2018 06:59:01 -0300 Subject: [PATCH] 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 241643d9956..66eb5775088 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)