From 69f426a2d966a2228cbdc708b9ddab31005c6d96 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 18 May 2015 16:15:04 +0100 Subject: devtool / recipetool: ensure bb.note() gets printed Most of the time when bb.note() gets called we want to see the output, so ensure the level is set appropriately depending on the command line options instead of being fixed at warning. (We don't want to see the notes for fetch/unpack/patch though as they are too verbose). Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- scripts/recipetool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/recipetool') diff --git a/scripts/recipetool b/scripts/recipetool index 2cfa763201..b7d3ee887c 100755 --- a/scripts/recipetool +++ b/scripts/recipetool @@ -40,7 +40,7 @@ def tinfoil_init(): for plugin in plugins: if hasattr(plugin, 'tinfoil_init'): plugin.tinfoil_init(tinfoil) - tinfoil.logger.setLevel(logging.WARNING) + tinfoil.logger.setLevel(logger.getEffectiveLevel()) def main(): -- cgit v1.2.3