bitbake: bitbake-layers: Keep loglevel in colored logger

(Bitbake rev: 68ce22df49a5f2105d098bfddcc14284043bfa5d)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ola x Nilsson 2019-12-20 15:23:20 +01:00 committed by Richard Purdie
parent 41a0a29c4d
commit 600e35678b

View File

@ -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)