summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2011-08-12 15:57:14 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-15 09:13:53 +0100
commitfce0b963b437c5b0660dca6f5b0a099e4befa03c (patch)
treefb88cf3e1bf34e4e93cd9994de7e3a24f607f60e /bitbake
parent30381645eefe4e3222fd3ce45823f143ce2fa82c (diff)
downloadpoky-fce0b963b437c5b0660dca6f5b0a099e4befa03c.tar.gz
lib/bb/providers: make "checking PREFERRED_PROVIDER_%s" a debug message
In verbose mode there are hundreds of these "checking PREFERRED_PROVIDER_%s" messages, cluttering the output and obscuring the more important resulting "selecting %s to satisfy runtime %s due to %s" messages. Individual "checking" lines are more suited for debug mode, similar to "sorted providers for %s are: %s", hence convert logger.verbose() to logger.debug(). (Bitbake rev: 85dfbec26abb5b944758f5c4749b7df16c0fb2e6) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/providers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py
index 22104f1af8..b2f98963d8 100644
--- a/bitbake/lib/bb/providers.py
+++ b/bitbake/lib/bb/providers.py
@@ -287,7 +287,7 @@ def filterProvidersRunTime(providers, item, cfgData, dataCache):
287 provides = dataCache.pn_provides[pn] 287 provides = dataCache.pn_provides[pn]
288 for provide in provides: 288 for provide in provides:
289 prefervar = bb.data.getVar('PREFERRED_PROVIDER_%s' % provide, cfgData, 1) 289 prefervar = bb.data.getVar('PREFERRED_PROVIDER_%s' % provide, cfgData, 1)
290 logger.verbose("checking PREFERRED_PROVIDER_%s (value %s) against %s", provide, prefervar, pns.keys()) 290 logger.debug(1, "checking PREFERRED_PROVIDER_%s (value %s) against %s", provide, prefervar, pns.keys())
291 if prefervar in pns and pns[prefervar] not in preferred: 291 if prefervar in pns and pns[prefervar] not in preferred:
292 var = "PREFERRED_PROVIDER_%s = %s" % (provide, prefervar) 292 var = "PREFERRED_PROVIDER_%s = %s" % (provide, prefervar)
293 logger.verbose("selecting %s to satisfy runtime %s due to %s", prefervar, item, var) 293 logger.verbose("selecting %s to satisfy runtime %s due to %s", prefervar, item, var)