summaryrefslogtreecommitdiffstats
path: root/lib/bb/tinfoil.py
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2020-03-12 13:30:03 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-12 23:03:34 +0000
commit2010be588c74a99256df7b565a309c84c2973546 (patch)
tree0e17652a74004543dc54480e89f550c763bddaa0 /lib/bb/tinfoil.py
parent93c98a85cb10d3795b3cebc9cd97214d0f4748e5 (diff)
downloadbitbake-2010be588c74a99256df7b565a309c84c2973546.tar.gz
knotty: Treat verbconsole as a console output
The BitBake.verbconsole needs to be treated like a console output logger (meaning that the TerminalFilter attaches an InteractConsoleLogFilter to it), even if it's not directly attached to the root 'BitBake' logger. First, assign a special "is_console" property to the relevant handlers, then look for the property in the handlers from the configuration object return by bb.msg.setLoggingConfig(). Finally, pass the list of all handlers to the TerminalFilter object; it doesn't care about the difference between console and errconsole, so pass all the relevant handlers as a list. This fixes cases where the console output was corrupted when messages were sent to the 'BitBake.verbconsole' handler. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/tinfoil.py')
0 files changed, 0 insertions, 0 deletions