diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-03-09 11:33:43 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-13 11:29:23 +0000 |
commit | ae6e0e0a5101a3523a355f8f7fa3c002842a33e7 (patch) | |
tree | 6fe34382e14bebb0dc44d849589cf9107557366d /bitbake/lib/bb | |
parent | 4bbd4dc6b5a95d9b2ddd278b4fd9c5a2e8c19b41 (diff) | |
download | poky-ae6e0e0a5101a3523a355f8f7fa3c002842a33e7.tar.gz |
bitbake: 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
(Bitbake rev: 30461310915f911b80f92e03df694af7c1eb1f46)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index a6a92b920f..aac12cd479 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -430,6 +430,11 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
430 | llevel, debug_domains = bb.msg.constructLogOptions() | 430 | llevel, debug_domains = bb.msg.constructLogOptions() |
431 | server.runCommand(["setEventMask", server.getEventHandle(), llevel, debug_domains, _evt_list]) | 431 | server.runCommand(["setEventMask", server.getEventHandle(), llevel, debug_domains, _evt_list]) |
432 | 432 | ||
433 | # The logging_tree module is *extremely* helpful in debugging logging | ||
434 | # domains. Uncomment here to dump the logging tree when bitbake starts | ||
435 | #import logging_tree | ||
436 | #logging_tree.printout() | ||
437 | |||
433 | universe = False | 438 | universe = False |
434 | if not params.observe_only: | 439 | if not params.observe_only: |
435 | params.updateFromServer(server) | 440 | params.updateFromServer(server) |