From 975d4c751963508f50470a3e5b710289214ed731 Mon Sep 17 00:00:00 2001 From: Prabuddha Chakraborty Date: Fri, 11 Dec 2015 15:09:33 +0530 Subject: [PATCH] log command output on return code 0 --- ee/core/shellexec.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ee/core/shellexec.py b/ee/core/shellexec.py index f82352fd..603fd322 100644 --- a/ee/core/shellexec.py +++ b/ee/core/shellexec.py @@ -29,6 +29,8 @@ class EEShellExec(): "replace")) if proc.returncode == 0: + Log.debug(self, "Command Output: {0}, \nCommand Error: {1}" + .format(cmd_stdout, cmd_stderr)) return True else: Log.debug(self, "Command Output: {0}, \nCommand Error: {1}"