diff options
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 3 |
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(): LogRecords to the console.""" logger = logging.getLogger("BitBake") if not _ui_handlers: + from bb.msg import BBLogFormatter console = logging.StreamHandler(sys.stdout) - console.setFormatter(logging.Formatter("%(levelname)s: %(message)s")) + console.setFormatter(BBLogFormatter("%(levelname)s: %(message)s")) logger.handlers = [console] while ui_queue: event = ui_queue.pop() |