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:03:26 +0000 |
commit | e0dd20a006ce6fdc656e6be6ac581e93e2ed4a95 (patch) | |
tree | cf4ff1f36ab923ebf5022c484df1dd8fad6412b8 | |
parent | fa94374baea75a94e3a488126ca7d8e241a77acd (diff) | |
download | bitbake-contrib-e0dd20a006ce6fdc656e6be6ac581e93e2ed4a95.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>
-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 b96466e65..c98e23ce3 100644 --- a/lib/bb/__init__.py +++ b/lib/bb/__init__.py @@ -47,7 +47,7 @@ class BBLogger(Logger): 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) |