X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Futils.py;fp=resources%2Ftools%2Fpresentation%2Futils.py;h=ab86bafdd7c4574046010f02571576afc07f86f3;hp=59dbfa634bb4532be404adfae669a77416bb02f9;hb=8c0d241b8b4b4289be8333b7fd1d5ce0726414d6;hpb=30f205347619919d15691f4b01da5e730840db38 diff --git a/resources/tools/presentation/utils.py b/resources/tools/presentation/utils.py index 59dbfa634b..ab86bafdd7 100644 --- a/resources/tools/presentation/utils.py +++ b/resources/tools/presentation/utils.py @@ -198,8 +198,10 @@ def execute_command(cmd): stdout, stderr = proc.communicate() - logging.debug(stdout) - logging.debug(stderr) + if stdout: + logging.info(stdout) + if stderr: + logging.info(stderr) if proc.returncode != 0: logging.error(" Command execution failed.")