[OE-core] [PATCH 3/3] recipetool, devtool: set up the logging filters
Christopher Larson
kergoth at gmail.com
Wed Sep 23 18:24:19 UTC 2015
From: Christopher Larson <chris_larson at mentor.com>
We want errors going to stderr, the way they do in bitbake itself.
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
scripts/devtool | 1 +
scripts/recipetool | 1 +
2 files changed, 2 insertions(+)
diff --git a/scripts/devtool b/scripts/devtool
index 87df951..5146538 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -241,6 +241,7 @@ def main():
logger.debug('Using standard bitbake path %s' % bitbakepath)
scriptpath.add_oe_lib_path()
+ scriptutils.logger_setup_filters(logger)
scriptutils.logger_setup_color(logger, global_args.color)
if global_args.bbpath is None:
diff --git a/scripts/recipetool b/scripts/recipetool
index 87fb35e..a1fc6e6 100755
--- a/scripts/recipetool
+++ b/scripts/recipetool
@@ -72,6 +72,7 @@ def main():
sys.exit(1)
logger.debug('Found bitbake path: %s' % bitbakepath)
+ scriptutils.logger_setup_filters(logger)
scriptutils.logger_setup_color(logger, global_args.color)
tinfoil = tinfoil_init(False)
--
2.2.1
More information about the Openembedded-core
mailing list