summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r--bitbake/lib/bb/ui/knotty.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 82aa7c4644..a19c3b3ba5 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -365,8 +365,9 @@ def main(server, eventHandler, params, tf = TerminalFilter):
365 bb.msg.addDefaultlogFilter(errconsole, bb.msg.BBLogFilterStdErr) 365 bb.msg.addDefaultlogFilter(errconsole, bb.msg.BBLogFilterStdErr)
366 console.setFormatter(format) 366 console.setFormatter(format)
367 errconsole.setFormatter(format) 367 errconsole.setFormatter(format)
368 logger.addHandler(console) 368 if not bb.msg.has_console_handler(logger):
369 logger.addHandler(errconsole) 369 logger.addHandler(console)
370 logger.addHandler(errconsole)
370 371
371 bb.utils.set_process_name("KnottyUI") 372 bb.utils.set_process_name("KnottyUI")
372 373