diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-02 22:24:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-09 00:02:41 +0000 |
commit | 281eba70c2c3beef556949980d7f81e7461ba5dd (patch) | |
tree | 78d873238cf2e909b307b402972db9d2ec9c9980 /bitbake/lib | |
parent | 31c4eec40a5523545f9e787681466453f9db8691 (diff) | |
download | poky-281eba70c2c3beef556949980d7f81e7461ba5dd.tar.gz |
bitbake: __init__.py: Fix bitbake debug log handling
For a while I've been puzzled as to why debug logging from runqueue wouldn't
appear on the console with -DD. The logic in the bbdebug handling is inverted
so fix it and now we see the expected messages from runqueue with -D and -DD.
This should then let us debug other issues using those log messages.
(Bitbake rev: 34145b950be03aff8f9b88207cf843abf002ab13)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py index 84a9051c13..afce5ccb87 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py | |||
@@ -58,7 +58,7 @@ class BBLoggerMixin(object): | |||
58 | if not bb.event.worker_pid: | 58 | if not bb.event.worker_pid: |
59 | if self.name in bb.msg.loggerDefaultDomains and loglevel > (bb.msg.loggerDefaultDomains[self.name]): | 59 | if self.name in bb.msg.loggerDefaultDomains and loglevel > (bb.msg.loggerDefaultDomains[self.name]): |
60 | return | 60 | return |
61 | if loglevel > bb.msg.loggerDefaultLogLevel: | 61 | if loglevel < bb.msg.loggerDefaultLogLevel: |
62 | return | 62 | return |
63 | return self.log(loglevel, msg, *args, **kwargs) | 63 | return self.log(loglevel, msg, *args, **kwargs) |
64 | 64 | ||