diff options
author | Ola x Nilsson <ola.x.nilsson@axis.com> | 2019-12-20 15:23:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-30 23:39:42 +0000 |
commit | 600e35678bee1936b5e46e74e9f4e26f6f08e072 (patch) | |
tree | 38fe11bbb3db7d7e0e52c5339b4ac8c21d556a8f /bitbake/bin/bitbake-layers | |
parent | 41a0a29c4d77a2ecc6e86effe3c0958ffde9bbed (diff) | |
download | poky-600e35678bee1936b5e46e74e9f4e26f6f08e072.tar.gz |
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>
Diffstat (limited to 'bitbake/bin/bitbake-layers')
-rwxr-xr-x | bitbake/bin/bitbake-layers | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers index a884dc1f8d..149f1b1ac8 100755 --- a/bitbake/bin/bitbake-layers +++ b/bitbake/bin/bitbake-layers | |||
@@ -52,7 +52,9 @@ def main(): | |||
52 | 52 | ||
53 | # Need to re-run logger_create with color argument | 53 | # Need to re-run logger_create with color argument |
54 | # (will be the same logger since it has the same name) | 54 | # (will be the same logger since it has the same name) |
55 | bb.msg.logger_create('bitbake-layers', output=sys.stdout, color=global_args.color) | 55 | bb.msg.logger_create('bitbake-layers', output=sys.stdout, |
56 | color=global_args.color, | ||
57 | level=logger.getEffectiveLevel()) | ||
56 | 58 | ||
57 | plugins = [] | 59 | plugins = [] |
58 | tinfoil = bb.tinfoil.Tinfoil(tracking=True) | 60 | tinfoil = bb.tinfoil.Tinfoil(tracking=True) |