summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2020-03-09 11:33:40 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-13 11:29:23 +0000
commit77fbe0924543044f80472c3843adb6246682d844 (patch)
treed1d67c76c060397c2b372cf5132d6236791eaa12
parent26473bfbeaed905e72ca95cf69d7bef3422814ac (diff)
downloadpoky-77fbe0924543044f80472c3843adb6246682d844.tar.gz
bitbake: knotty: Handle logging messages with specific logger
Handles the log messages from the bitbake server with the specific logger that the event originated from. This allows hierarchical logging configurations to work as expected. (Bitbake rev: 9624d42133e024fd044d0d089c7017ed53eed874) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/ui/knotty.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index cbb289b05f..a6a92b920f 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -522,7 +522,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
522 event.msg = taskinfo['title'] + ': ' + event.msg 522 event.msg = taskinfo['title'] + ': ' + event.msg
523 if hasattr(event, 'fn'): 523 if hasattr(event, 'fn'):
524 event.msg = event.fn + ': ' + event.msg 524 event.msg = event.fn + ': ' + event.msg
525 logger.handle(event) 525 logging.getLogger(event.name).handle(event)
526 continue 526 continue
527 527
528 if isinstance(event, bb.build.TaskFailedSilent): 528 if isinstance(event, bb.build.TaskFailedSilent):