diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-03-09 11:33:41 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-13 11:29:23 +0000 |
commit | 4c9a4129994a6cf3adfcd1e286735f9354b9ca4c (patch) | |
tree | 2e34afa45baa778726ef3fcc99c8b166bc50ec72 /bitbake/bin | |
parent | 77fbe0924543044f80472c3843adb6246682d844 (diff) | |
download | poky-4c9a4129994a6cf3adfcd1e286735f9354b9ca4c.tar.gz |
bitbake: lib/bb/msg: Use log level instead of debug count
Passes around the actual logging level as the default log level variable
instead of the debug count. This makes it easier to deal with logging
levels since the conversion from debug count and verbose flag only has
to occur once when logging is initialized and after that actual log
levels can be used
(Bitbake rev: 41bd155faf7f65cb0727fcce972715769b26ca89)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake-worker | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker index 1e641e81c2..fc28a34d8a 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker | |||
@@ -414,7 +414,7 @@ class BitbakeWorker(object): | |||
414 | 414 | ||
415 | def handle_workerdata(self, data): | 415 | def handle_workerdata(self, data): |
416 | self.workerdata = pickle.loads(data) | 416 | self.workerdata = pickle.loads(data) |
417 | bb.msg.loggerDefaultDebugLevel = self.workerdata["logdefaultdebug"] | 417 | bb.msg.loggerDefaultLogLevel = self.workerdata["logdefaultlevel"] |
418 | bb.msg.loggerDefaultVerbose = self.workerdata["logdefaultverbose"] | 418 | bb.msg.loggerDefaultVerbose = self.workerdata["logdefaultverbose"] |
419 | bb.msg.loggerVerboseLogs = self.workerdata["logdefaultverboselogs"] | 419 | bb.msg.loggerVerboseLogs = self.workerdata["logdefaultverboselogs"] |
420 | bb.msg.loggerDefaultDomains = self.workerdata["logdefaultdomain"] | 420 | bb.msg.loggerDefaultDomains = self.workerdata["logdefaultdomain"] |