summaryrefslogtreecommitdiffstats
path: root/meta/lib
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-10-01 21:45:57 +0100
commit7ae326c76bd7c357d11974db618eb65956b57d44 (patch)
treed613a5e1cf708b0880c3a4d4f2a6f1bbf0612e60 /meta/lib
parent5d96223e312fe8276ab9684e13cb2af41536e48a (diff)
downloadpoky-7ae326c76bd7c357d11974db618eb65956b57d44.tar.gz
oeqa/utils: Add StreamHandler to logger
StreamHandler was added due missing log information on the console in oe-selftest with Qemu Runner (From OE-Core rev: a4e2df151af781edbcb6b0e17b51b5ed226bf77f) Signed-off-by: Francisco Pedraza <francisco.j.pedraza.gonzalez@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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
20 20
21import logging 21import logging
22logger = logging.getLogger("BitBake.QemuRunner") 22logger = logging.getLogger("BitBake.QemuRunner")
23logger.addHandler(logging.StreamHandler())
23 24
24# Get Unicode non printable control chars 25# Get Unicode non printable control chars
25control_range = list(range(0,32))+list(range(127,160)) 26control_range = list(range(0,32))+list(range(127,160))