diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-03-09 11:33:40 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-12 23:01:42 +0000 |
commit | 9624d42133e024fd044d0d089c7017ed53eed874 (patch) | |
tree | 0d66a30b540b51232e56fc907a8e6c52ced981da /lib/bb/ui/knotty.py | |
parent | f32a8bc7ff7a0b0750b6934a96f5d48391b1383a (diff) | |
download | bitbake-9624d42133e024fd044d0d089c7017ed53eed874.tar.gz |
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.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/knotty.py')
-rw-r--r-- | lib/bb/ui/knotty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index cbb289b05..a6a92b920 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -522,7 +522,7 @@ def main(server, eventHandler, params, tf = TerminalFilter): event.msg = taskinfo['title'] + ': ' + event.msg if hasattr(event, 'fn'): event.msg = event.fn + ': ' + event.msg - logger.handle(event) + logging.getLogger(event.name).handle(event) continue if isinstance(event, bb.build.TaskFailedSilent): |