[bitbake-devel] [PATCH 5/6] bitbake: toaster: Uncomment logging messages
Alex DAMIAN
alexandru.damian at intel.com
Tue Jul 28 14:24:44 UTC 2015
From: Ed Bartosh <ed.bartosh at linux.intel.com>
Uncommented debug and warning messages in _shellcmd method of
LocalhostBEController as they seem to be useful for debugging.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
lib/toaster/bldcontrol/localhostbecontroller.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/toaster/bldcontrol/localhostbecontroller.py b/lib/toaster/bldcontrol/localhostbecontroller.py
index c0774a3..231a7d3 100644
--- a/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -54,7 +54,7 @@ class LocalhostBEController(BuildEnvironmentController):
if cwd is None:
cwd = self.be.sourcedir
- #logger.debug("lbc_shellcmmd: (%s) %s" % (cwd, command))
+ logger.debug("lbc_shellcmmd: (%s) %s" % (cwd, command))
p = subprocess.Popen(command, cwd = cwd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
(out,err) = p.communicate()
p.wait()
@@ -63,10 +63,10 @@ class LocalhostBEController(BuildEnvironmentController):
err = "command: %s \n%s" % (command, out)
else:
err = "command: %s \n%s" % (command, err)
- #logger.warn("localhostbecontroller: shellcmd error %s" % err)
+ logger.warn("localhostbecontroller: shellcmd error %s" % err)
raise ShellCmdException(err)
else:
- #logger.debug("localhostbecontroller: shellcmd success")
+ logger.debug("localhostbecontroller: shellcmd success")
return out
def _setupBE(self):
--
1.9.1
More information about the bitbake-devel
mailing list