Skip to content

knotty: Interactive logging changes

Jason Wessel bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8bitbake: Unbuffer stdout for log filesbin/bitbake+8 -02 replies
2/8knotty.py: Extend knotty to support "real time" log tail for taskslib/bb/build.py lib/bb/ui/crumbs/multilogtail.py lib/bb/ui/knotty.py+183 -01 reply
3/8knotty.py: Add the ability to dynamically select loglevel from stdinlib/bb/ui/knotty.py+35 -00 replies
4/8msg.py, knotty.py: Allow dynamic toggle of the debug log levellib/bb/msg.py lib/bb/ui/knotty.py+26 -40 replies
5/8knotty.py: update footer on dynamic log level changelib/bb/ui/knotty.py+6 -00 replies
6/8knotty.py: Add interactive commands to knottylib/bb/ui/knotty.py+65 -100 replies
7/8knotty.py: Add ability to dynamically toggle log locationlib/bb/ui/knotty.py+13 -00 replies
8/8knotty.py: Handle rare interrupted select calllib/bb/ui/knotty.py+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] knotty: Interactive logging changes

This a series that was posted some time ago in conjunction with the knotty2 -> knotty merge. Since that time the knotty2 has been merged into knotty. This series of patches adds in the ability to interactively control the logging behavior while building, or set the defaults by using the variable BB_RT_LOGLEVEL.

Certainly I am open to the re-naming any of these variables and such or even changing the key bindings. I do find it quite useful to be able track down problems without having to go snooping through logs. Most of the problems I find or debug all use these logging changes, so I would like to make another attempt to get them upstream.

Thanks,
Jason.

--

Jason Wessel (8):
bitbake: Unbuffer stdout for log files
knotty.py: Extend knotty to support "real time" log tail for tasks knotty.py: Add the ability to dynamically select loglevel from stdin msg.py, knotty.py: Allow dynamic toggle of the debug log level knotty.py: update footer on dynamic log level change knotty.py: Add interactive commands to knotty
knotty.py: Add ability to dynamically toggle log location knotty.py: Handle rare interrupted select call

 bin/bitbake                      |    8 ++
 lib/bb/build.py                  |    4 +
 lib/bb/msg.py                    |    9 ++-
 lib/bb/ui/crumbs/multilogtail.py |  135 +++++++++++++++++++++++++++++
 lib/bb/ui/knotty.py              |  178 +++++++++++++++++++++++++++++++++++++-
 5 files changed, 330 insertions(+), 4 deletions(-)
 create mode 100644 lib/bb/ui/crumbs/multilogtail.py