summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/event.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 3866e01f2b..8b45501c00 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -84,8 +84,9 @@ def print_ui_queue():
84 LogRecords to the console.""" 84 LogRecords to the console."""
85 logger = logging.getLogger("BitBake") 85 logger = logging.getLogger("BitBake")
86 if not _ui_handlers: 86 if not _ui_handlers:
87 from bb.msg import BBLogFormatter
87 console = logging.StreamHandler(sys.stdout) 88 console = logging.StreamHandler(sys.stdout)
88 console.setFormatter(logging.Formatter("%(levelname)s: %(message)s")) 89 console.setFormatter(BBLogFormatter("%(levelname)s: %(message)s"))
89 logger.handlers = [console] 90 logger.handlers = [console]
90 while ui_queue: 91 while ui_queue:
91 event = ui_queue.pop() 92 event = ui_queue.pop()