[oe-commits] [openembedded-core] 03/03: oeqa/utils: Add StreamHandler to logger

git at git.openembedded.org git at git.openembedded.org
Fri Sep 30 16:18:55 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b40e2854b80fc1663df2abb77fa425fdb204ee53
Author: Francisco Pedraza <francisco.j.pedraza.gonzalez at intel.com>
AuthorDate: Thu Sep 29 12:38:56 2016 -0500

    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 at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/utils/qemurunner.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py
index 1f98682..8f1b5b9 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))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list