From 68ce22df49a5f2105d098bfddcc14284043bfa5d Mon Sep 17 00:00:00 2001 From: Ola x Nilsson Date: Fri, 20 Dec 2019 15:23:20 +0100 Subject: bitbake-layers: Keep loglevel in colored logger Signed-off-by: Ola x Nilsson Signed-off-by: Richard Purdie --- bin/bitbake-layers | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit 1.2.3-korg