Skip to content

Improve logger setup in devtool/recipetool/scriptutils

Christopher Larson openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4oe.scriptutils: enable color in a more flexible wayscripts/lib/scriptutils.py+7 -60 replies
2/4oe.scriptutils: add logger_setup_filtersscripts/lib/scriptutils.py+15 -00 replies
3/4recipetool, devtool: set up the logging filtersscripts/devtool scripts/recipetool+4 -00 replies
4/4oe.scriptutils: also send WARNING to stderrscripts/lib/scriptutils.py+4 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPaul Eggleton
SeriesA-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Improve logger setup in devtool/recipetool/scriptutils

From: Christopher Larson <[email protected]>

This improves logger setup in devtool and recipetool to send ERRORs to stderr, the way bitbake itself does, and also sends WARNINGs there, as those are essentially out of band as well. This makes it easier to script with devtool and recipetool, as any *real* subcommand output can be more easily captured without having to manually filter out the cruft.

The following changes since commit b11725db2d5549dc45d8ae36fbf94a5c8e342d69:

xserver-xorg: Fix build errors with clang (2019-03-04 14:26:41 +0000)

are available in the Git repository at:

[email protected]:kergoth/openembedded-core scriptutils-log-improvements

for you to fetch changes up to c4f37568236d2e3d8c40d57399d0b275ad5b7c8b:

oe.scriptutils: also send WARNING to stderr (2019-03-04 21:31:00 +0000)

----------------------------------------------------------------
Christopher Larson (4):
oe.scriptutils: enable color in a more flexible way oe.scriptutils: add logger_setup_filters recipetool, devtool: set up the logging filters oe.scriptutils: also send WARNING to stderr

 scripts/devtool            |  2 ++
 scripts/lib/scriptutils.py | 30 ++++++++++++++++++++++++------
 scripts/recipetool         |  2 ++
 3 files changed, 28 insertions(+), 6 deletions(-)
Signature · 1 line
2.20.1