[OE-core] [PATCH 0/4] Improve logger setup in devtool/recipetool/scriptutils

Christopher Larson kergoth at gmail.com
Mon Mar 4 21:36:07 UTC 2019


From: Christopher Larson <chris_larson at mentor.com>

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:

  git at github.com: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(-)

-- 
2.20.1



More information about the Openembedded-core mailing list