diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-05-16 15:35:59 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-05-16 15:35:59 +0200 |
commit | 8c0d241b8b4b4289be8333b7fd1d5ce0726414d6 (patch) | |
tree | ddaacaff1c30900390f6a7c96739f2c3d4ac7664 /resources/tools/presentation/utils.py | |
parent | 30f205347619919d15691f4b01da5e730840db38 (diff) |
Trending: menu
Change-Id: I8f6528f915c96b5aca8482d8b86db5285e9aa1c9
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/utils.py')
-rw-r--r-- | resources/tools/presentation/utils.py | 6 |
1 files changed, 4 insertions, 2 deletions
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.") |