DaanHoogland closed pull request #2568: Log command output in CsHelper.execute command URL: https://github.com/apache/cloudstack/pull/2568
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): 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) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services