summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-07 23:54:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-08 00:02:00 +0000
commitb22e345e05efcc3f66278af8f09fb083afe32b68 (patch)
tree82b2f57d6db0d434c64e6c0bc4f8f218e0283d58 /bitbake/lib/bb/ui
parentf8e7215f6c4ece8c0a74ceee8da707cf791038e8 (diff)
downloadpoky-b22e345e05efcc3f66278af8f09fb083afe32b68.tar.gz
bitbake/knotty.py: Don't show log messages of NOTE and below for task processes
This cleans up the knotty console messages to be a lot quieter and cleaning, in keeping with the expectations of most users. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-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):
111 print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task)) 111 print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task))
112 112
113 if isinstance(event, logging.LogRecord): 113 if isinstance(event, logging.LogRecord):
114 if event.levelno >= logging.CRITICAL: 114 if event.levelno >= format.ERROR:
115 return_value = 1
116 if event.levelno is logging.ERROR:
117 return_value = 1 115 return_value = 1
116 if event.taskpid != 0 and event.levelno <= format.NOTE:
117 continue
118 logger.handle(event) 118 logger.handle(event)
119 continue 119 continue
120 120