path: root/bitbake/lib/bblayers
diff options
authorJoshua Watt <>2021-02-09 15:50:21 (GMT)
committerRichard Purdie <>2021-02-10 23:48:16 (GMT)
commit75f87db413f3659fee18eff389b7b339b01cce15 (patch)
treee733135549b516c72c4f34172b6bbf865377fc76 /bitbake/lib/bblayers
parent7283a0b3b6ca49d0d2e13593333a580ef10439a8 (diff)
bitbake: logging: Make bitbake logger compatible with python logger
The bitbake logger overrode the definition of the debug() logging call to include a debug level, but this causes problems with code that may be using standard python logging, since the extra argument is interpreted differently. Instead, change the bitbake loggers debug() call to match the python logger call and add a debug2() and debug3() API to replace calls that were logging to a different debug level. [RP: Small fix to ensure bb.debug calls bbdebug()] (Bitbake rev: f68682a79d83e6399eb403f30a1f113516575f51) Signed-off-by: Joshua Watt <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'bitbake/lib/bblayers')
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bblayers/ b/bitbake/lib/bblayers/
index 95b67a6..b2f27b2 100644
--- a/bitbake/lib/bblayers/
+++ b/bitbake/lib/bblayers/
@@ -79,7 +79,7 @@ class LayerIndexPlugin(ActionPlugin):
79 branches = [args.branch] 79 branches = [args.branch]
80 else: 80 else:
81 branches = (self.tinfoil.config_data.getVar('LAYERSERIES_CORENAMES') or 'master').split() 81 branches = (self.tinfoil.config_data.getVar('LAYERSERIES_CORENAMES') or 'master').split()
82 logger.debug(1, 'Trying branches: %s' % branches) 82 logger.debug('Trying branches: %s' % branches)
83 83
84 ignore_layers = [] 84 ignore_layers = []
85 if args.ignore: 85 if args.ignore: