Patchwork [bitbake-devel] parse/ast: Show append logging at lower log level

login
register
mail settings
Submitter Richard Purdie
Date May 9, 2014, 12:31 p.m.
Message ID <1399638685.31891.89.camel@ted>
Download mbox | patch
Permalink /patch/71815/
State New
Headers show

Comments

Richard Purdie - May 9, 2014, 12:31 p.m.
It was reported that bitbake -D made no mention of which append files it
was using. bitbake -DD does but it makes sense to increase the log level 
of this piece of debug information.

[YOCTO #6262]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index 0ad6d58..30380a4 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -377,7 +377,7 @@  def _expand_versions(versions):
 def multi_finalize(fn, d):
     appends = (d.getVar("__BBAPPEND", True) or "").split()
     for append in appends:
-        logger.debug(2, "Appending .bbappend file %s to %s", append, fn)
+        logger.debug(1, "Appending .bbappend file %s to %s", append, fn)
         bb.parse.BBHandler.handle(append, d, True)
 
     onlyfinalise = d.getVar("__ONLYFINALISE", False)