aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2017-02-14 10:20:11 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-14 10:20:11 +0000
commitac69844e4d230112d3439ce2a0b07dbf8f3b17f2 (patch)
treeed9e9b384dbeb5d23b098eeca2e67c7acdb98ef2
parent1887457d16d974fec4c09c127ccff501113a1de6 (diff)
parente7bda85f7ce1bccb2ee95a99e087eb875ad03cd1 (diff)
Merge "Extend the logging in the utils lib"
-rw-r--r--sfc/lib/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfc/lib/utils.py b/sfc/lib/utils.py
index 186cbd91..02782765 100644
--- a/sfc/lib/utils.py
+++ b/sfc/lib/utils.py
@@ -34,6 +34,8 @@ def run_cmd(cmd):
stderr=subprocess.PIPE)
(output, errors) = pipe.communicate()
+ logger.debug("running [%s] returns: <%s> - %s "
+ "" % (cmd, pipe.returncode, output))
if output:
output = output.strip()
if pipe.returncode != 0 or len(errors) > 0: