Skip to contentSkip to conversation

oeqa/utils: Add StreamHandler to logger

PATCH New Francisco Pedraza 1 participant 1 message Sep 29, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 oeqa/utils: Add StreamHandler to logger

StreamHandler was added due missing log information on the console in oe-selftest with Qemu Runner

---
 meta/lib/oeqa/utils/qemurunner.py | 1 +
 1 file changed, 1 insertion(+)
meta/lib/oeqa/utils/qemurunner.py +1 -0
index 1f98682..8f1b5b9 100644
@@ -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))
Signature · 1 line
2.5.0