summaryrefslogtreecommitdiffstats
path: root/scripts/recipetool
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-05-18 16:15:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-19 08:16:47 +0100
commit69f426a2d966a2228cbdc708b9ddab31005c6d96 (patch)
tree14bb7223866ab9071400f08f768e53574af1507d /scripts/recipetool
parent0c65e61d029e2c2293b072ff950aa825394abb79 (diff)
downloadopenembedded-core-contrib-69f426a2d966a2228cbdc708b9ddab31005c6d96.tar.gz
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 <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/recipetool')
-rwxr-xr-xscripts/recipetool2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/recipetool b/scripts/recipetool
index 2cfa7632018..b7d3ee887c7 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():