* [PATCH 0/1] bitbake: fix -D and -v options
@ 2011-09-23 12:43 Paul Eggleton
2011-09-23 12:43 ` [PATCH 1/1] bitbake/lib/bb/msg.py: fix setting debug and verbosity levels Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2011-09-23 12:43 UTC (permalink / raw)
To: bitbake-devel
A single patch to fix a regression in setting the debug/verbosity levels
(-D and -v command line options).
The patch (against Poky, but applies cleanly against bitbake master with
-p2) is available in the git repository at:
git://git.pokylinux.org/poky-contrib paule/bb-debug
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=paule/bb-debug
Paul Eggleton (1):
bitbake/lib/bb/msg.py: fix setting debug and verbosity levels
bitbake/lib/bb/msg.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
1.7.4.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] bitbake/lib/bb/msg.py: fix setting debug and verbosity levels
2011-09-23 12:43 [PATCH 0/1] bitbake: fix -D and -v options Paul Eggleton
@ 2011-09-23 12:43 ` Paul Eggleton
2011-09-23 15:53 ` Paul Eggleton
0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2011-09-23 12:43 UTC (permalink / raw)
To: bitbake-devel
The debug and verbosity levels (as set by the -D and -v command line
options respectively) were not being passed through within msg.py since
bitbake revision 45aad2f9647df14bcfa5e755b57e1ddab377939a due to setting
incorrect variable names.
Fixes [YOCTO #1513].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
bitbake/lib/bb/msg.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py
index b7ae761..20d9bdd 100644
--- a/bitbake/lib/bb/msg.py
+++ b/bitbake/lib/bb/msg.py
@@ -106,8 +106,8 @@ def init_msgconfig(verbose, debug, debug_domains = []):
"""
Set default verbosity and debug levels config the logger
"""
- bb.msg.loggerDebugLevel = debug
- bb.msg.loggerVerbose = verbose
+ bb.msg.loggerDefaultDebugLevel = debug
+ bb.msg.loggerDefaultVerbose = verbose
bb.msg.loggerDefaultDomains = debug_domains
def addDefaultlogFilter(handler):
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-23 15:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-23 12:43 [PATCH 0/1] bitbake: fix -D and -v options Paul Eggleton
2011-09-23 12:43 ` [PATCH 1/1] bitbake/lib/bb/msg.py: fix setting debug and verbosity levels Paul Eggleton
2011-09-23 15:53 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.