diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-03-09 11:33:40 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-13 11:29:23 +0000 |
commit | 77fbe0924543044f80472c3843adb6246682d844 (patch) | |
tree | d1d67c76c060397c2b372cf5132d6236791eaa12 /bitbake/lib/bb/ui | |
parent | 26473bfbeaed905e72ca95cf69d7bef3422814ac (diff) | |
download | poky-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>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 2 |
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): |