Log in fuction execute for stdout; stderr
This commit is contained in:
parent
314fa316d2
commit
1be80fbec3
1 changed files with 4 additions and 3 deletions
|
@ -61,6 +61,7 @@ def execute(command, shell=False):
|
||||||
except OSError as ex:
|
except OSError as ex:
|
||||||
logging.error('Could not run command %s: %s', command, ex)
|
logging.error('Could not run command %s: %s', command, ex)
|
||||||
return
|
return
|
||||||
|
logging.debug(stdout, stderr)
|
||||||
return stdout.strip()
|
return stdout.strip()
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue