summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-16 13:56:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-23 10:00:31 -0700
commit38393fb3c2f9639809a05158a27b6a5e5e840929 (patch)
treeb8d2d7fafb8f715ef571bfeefe81876bb837da2c /bitbake
parentedd8e1e8b974eb3f0f9f66c2207aadf43612350b (diff)
downloadast2050-yocto-poky-38393fb3c2f9639809a05158a27b6a5e5e840929.zip
ast2050-yocto-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')
-rw-r--r--bitbake/lib/bb/ui/crumbs/runningbuild.py3
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 bf72e2a..f78969c 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):
parent = self.tasks_to_iter[(package, task)]
if(isinstance(event, logging.LogRecord)):
- if (event.msg.startswith ("Running task")):
+ if (event.levelno < logging.INFO or
+ event.msg.startswith("Running task")):
return # don't add these to the list
if event.levelno >= logging.ERROR:
OpenPOWER on IntegriCloud