summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/bb/ui/knotty.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index bebfa8a94..bcfffea23 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -110,8 +110,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:
+ if event.levelno >= format.CRITICAL:
return_value = 1
+ if event.taskpid != 0 and event.levelno <= format.NOTE:
+ continue
logger.handle(event)
continue