aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOla x Nilsson <ola.x.nilsson@axis.com>2019-12-20 15:23:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-30 23:39:36 +0000
commit68ce22df49a5f2105d098bfddcc14284043bfa5d (patch)
tree50ccf60f2ca2dcf79d8c5a82674c2862b7fb8b12
parent6fa8a18ea4994031fdd1253fe363c5d8eeeba456 (diff)
downloadbitbake-contrib-68ce22df49a5f2105d098bfddcc14284043bfa5d.tar.gz
bitbake-layers: Keep loglevel in colored logger
Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbin/bitbake-layers4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/bitbake-layers b/bin/bitbake-layers
index a884dc1f8..149f1b1ac 100755
--- a/bin/bitbake-layers
+++ b/bin/bitbake-layers
@@ -52,7 +52,9 @@ def main():
# Need to re-run logger_create with color argument
# (will be the same logger since it has the same name)
- bb.msg.logger_create('bitbake-layers', output=sys.stdout, color=global_args.color)
+ bb.msg.logger_create('bitbake-layers', output=sys.stdout,
+ color=global_args.color,
+ level=logger.getEffectiveLevel())
plugins = []
tinfoil = bb.tinfoil.Tinfoil(tracking=True)