summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/knotty.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 7fb7f84e5b..34180fb93e 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -111,10 +111,10 @@ def main(server, eventHandler):
print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task))
if isinstance(event, logging.LogRecord):
- if event.levelno >= logging.CRITICAL:
- return_value = 1
- if event.levelno is logging.ERROR:
+ if event.levelno >= format.ERROR:
return_value = 1
+ if event.taskpid != 0 and event.levelno <= format.NOTE:
+ continue
logger.handle(event)
continue