From 9be8ea632c2bdd9acc4d9212c7f2871f8c2575a8 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 28 Jul 2015 15:24:44 +0100 Subject: bitbake: bitbake: toaster: Uncomment logging messages Uncommented debug and warning messages in _shellcmd method of LocalhostBEController as they seem to be useful for debugging. (Bitbake rev: 9446f02520a3bee4417908d8da2ab1848f4759c3) Signed-off-by: Ed Bartosh Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index c0774a3a0b..231a7d3b3a 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/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): -- cgit v1.2.3-54-g00ecf