summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-12 13:45:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-12 13:45:39 +0000
commit3f08b7f1eadc8d181c76339d14c7abb4f49cad57 (patch)
tree9ec7d976a8e2d3273e6376b03b5c31183ca55a42 /bitbake/lib/bb
parentd4731a3f7dbd6aac8ae8dbf5187a72654c3b5733 (diff)
downloadpoky-3f08b7f1eadc8d181c76339d14c7abb4f49cad57.tar.gz
bitbake/knotty.py: Ensure task note messages are only surpressed at default log levels
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/ui/knotty.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 34180fb93e..042dbe902c 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -113,8 +113,12 @@ def main(server, eventHandler):
113 if isinstance(event, logging.LogRecord): 113 if isinstance(event, logging.LogRecord):
114 if event.levelno >= format.ERROR: 114 if event.levelno >= format.ERROR:
115 return_value = 1 115 return_value = 1
116 if event.taskpid != 0 and event.levelno <= format.NOTE: 116 # For "normal" logging conditions, don't show note logs from tasks
117 continue 117 # but do show them if the user has changed the default log level to
118 # include verbose/debug messages
119 if logger.getEffectiveLevel() > format.VERBOSE:
120 if event.taskpid != 0 and event.levelno <= format.NOTE:
121 continue
118 logger.handle(event) 122 logger.handle(event)
119 continue 123 continue
120 124