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:04:01 +0000 |
commit | b87671882300ee8f0b613d8c37b274a0f2aae6dc (patch) | |
tree | d1fa04cf50ceb6f3fe434b5c10f937bda4c841cb /bitbake | |
parent | 0298de9a8ac4be957397ef13ff1ab7babb0970c0 (diff) | |
download | poky-b87671882300ee8f0b613d8c37b274a0f2aae6dc.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: 7a6517243dbfecfd78f82f6709fbeaab2fb03e2c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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 09e161fef1..c7bc372ec8 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py | |||
@@ -49,7 +49,7 @@ class BBLoggerMixin(object): | |||
49 | if not bb.event.worker_pid: | 49 | if not bb.event.worker_pid: |
50 | if self.name in bb.msg.loggerDefaultDomains and loglevel > (bb.msg.loggerDefaultDomains[self.name]): | 50 | if self.name in bb.msg.loggerDefaultDomains and loglevel > (bb.msg.loggerDefaultDomains[self.name]): |
51 | return | 51 | return |
52 | if loglevel > bb.msg.loggerDefaultLogLevel: | 52 | if loglevel < bb.msg.loggerDefaultLogLevel: |
53 | return | 53 | return |
54 | return self.log(loglevel, msg, *args, **kwargs) | 54 | return self.log(loglevel, msg, *args, **kwargs) |
55 | 55 | ||