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 09:59:49 -0700 |
commit | a12da000a8e4138fbdfd77f9c49b11fc69a315e1 (patch) | |
tree | 1a0a7194a6a6fcfcb5d271aec336e72d32fca182 | |
parent | d5abdacaf9ac604ef8d8c1bafb9b30617827cb4f (diff) | |
download | bitbake-a12da000a8e4138fbdfd77f9c49b11fc69a315e1.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.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r-- | lib/bb/ui/crumbs/runningbuild.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/ui/crumbs/runningbuild.py b/lib/bb/ui/crumbs/runningbuild.py index bf72e2a72..f78969cc0 100644 --- a/lib/bb/ui/crumbs/runningbuild.py +++ b/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: |