mirror of https://github.com/apache/cloudstack.git
Log command output in CsHelper.execute command (#2568)
This commit is contained in:
parent
cf3c2d1aab
commit
20b93eaa06
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue