diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-08-16 13:56:37 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-23 10:00:31 -0700 |
commit | 38393fb3c2f9639809a05158a27b6a5e5e840929 (patch) | |
tree | b8d2d7fafb8f715ef571bfeefe81876bb837da2c /bitbake/lib/bb/ui | |
parent | edd8e1e8b974eb3f0f9f66c2207aadf43612350b (diff) | |
download | poky-38393fb3c2f9639809a05158a27b6a5e5e840929.tar.gz |
bb/ui/crumbs/runningbuild: reduce number of messages after recent msg change
The recent change to the message module to remove custom logging domains
resulted in an increased number of messages being displayed in the
running build view, ignore all messages lower than log level INFO.
(Bitbake rev: a12da000a8e4138fbdfd77f9c49b11fc69a315e1)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/runningbuild.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py index bf72e2a725..f78969cc04 100644 --- a/bitbake/lib/bb/ui/crumbs/runningbuild.py +++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py | |||
@@ -91,7 +91,8 @@ class RunningBuild (gobject.GObject): | |||
91 | parent = self.tasks_to_iter[(package, task)] | 91 | parent = self.tasks_to_iter[(package, task)] |
92 | 92 | ||
93 | if(isinstance(event, logging.LogRecord)): | 93 | if(isinstance(event, logging.LogRecord)): |
94 | if (event.msg.startswith ("Running task")): | 94 | if (event.levelno < logging.INFO or |
95 | event.msg.startswith("Running task")): | ||
95 | return # don't add these to the list | 96 | return # don't add these to the list |
96 | 97 | ||
97 | if event.levelno >= logging.ERROR: | 98 | if event.levelno >= logging.ERROR: |