aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Pedraza <francisco.j.pedraza.gonzalez@intel.com>2016-09-29 12:38:56 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 17:48:33 +0100
commita4e2df151af781edbcb6b0e17b51b5ed226bf77f (patch)
tree64b3a50f5bdddf90f715f0b445189e849582e86e
parent0d6b7276003f1afabc6de683f663540327d52bdc (diff)
downloadopenembedded-core-contrib-a4e2df151af781edbcb6b0e17b51b5ed226bf77f.tar.gz
openembedded-core-contrib-a4e2df151af781edbcb6b0e17b51b5ed226bf77f.tar.bz2
openembedded-core-contrib-a4e2df151af781edbcb6b0e17b51b5ed226bf77f.zip
oeqa/utils: Add StreamHandler to logger
StreamHandler was added due missing log information on the console in oe-selftest with Qemu Runner Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/utils/qemurunner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 1f98682f75..8f1b5b9805 100644
--- a/meta/lib/oeqa/utils/qemurunner.py
+++ b/meta/lib/oeqa/utils/qemurunner.py
@@ -20,6 +20,7 @@ from oeqa.utils.dump import HostDumper
import logging
logger = logging.getLogger("BitBake.QemuRunner")
+logger.addHandler(logging.StreamHandler())
# Get Unicode non printable control chars
control_range = list(range(0,32))+list(range(127,160))