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:35 +0000 |
commit | 34145b950be03aff8f9b88207cf843abf002ab13 (patch) | |
tree | b822612edb6afcb6b13369d60bbac709bcdb2097 /lib | |
parent | 6e001410854792f9bb66a0409a2ac176171b0507 (diff) | |
download | bitbake-34145b950be03aff8f9b88207cf843abf002ab13.tar.gz |
__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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/__init__.py b/lib/bb/__init__.py index 84a9051c1..afce5ccb8 100644 --- a/lib/bb/__init__.py +++ b/lib/bb/__init__.py @@ -58,7 +58,7 @@ class BBLoggerMixin(object): if not bb.event.worker_pid: if self.name in bb.msg.loggerDefaultDomains and loglevel > (bb.msg.loggerDefaultDomains[self.name]): return - if loglevel > bb.msg.loggerDefaultLogLevel: + if loglevel < bb.msg.loggerDefaultLogLevel: return return self.log(loglevel, msg, *args, **kwargs) |