summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2020-03-09 11:33:43 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-12 23:02:00 +0000
commit30461310915f911b80f92e03df694af7c1eb1f46 (patch)
tree51ffb5d623c4c050314d287be1729cda415df207
parent5ff962dca71f4ef16a3aa11b41a23f2227fe8c21 (diff)
downloadbitbake-30461310915f911b80f92e03df694af7c1eb1f46.tar.gz
knotty: Add commented logging_tree code
Adds a comment section that can be easily uncommented to enable dumping the logging tree. This module is extremely useful for debugging issued with logging configuration Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/ui/knotty.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index a6a92b920..aac12cd47 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -430,6 +430,11 @@ def main(server, eventHandler, params, tf = TerminalFilter):
llevel, debug_domains = bb.msg.constructLogOptions()
server.runCommand(["setEventMask", server.getEventHandle(), llevel, debug_domains, _evt_list])
+ # The logging_tree module is *extremely* helpful in debugging logging
+ # domains. Uncomment here to dump the logging tree when bitbake starts
+ #import logging_tree
+ #logging_tree.printout()
+
universe = False
if not params.observe_only:
params.updateFromServer(server)