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>
This commit is contained in:
parent
f8e7215f6c
commit
b22e345e05
|
@ -111,10 +111,10 @@ def main(server, eventHandler):
|
|||
print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task))
|
||||
|
||||
if isinstance(event, logging.LogRecord):
|
||||
if event.levelno >= logging.CRITICAL:
|
||||
return_value = 1
|
||||
if event.levelno is logging.ERROR:
|
||||
if event.levelno >= format.ERROR:
|
||||
return_value = 1
|
||||
if event.taskpid != 0 and event.levelno <= format.NOTE:
|
||||
continue
|
||||
logger.handle(event)
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue