diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-09-23 17:05:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-25 16:25:27 +0100 |
commit | dea2fd181aa787c1228c10664856773d5dc4bbe5 (patch) | |
tree | 9ebf51f20bd21a82f0cde6567b60f05a02398dbc /bitbake/lib/bb/msg.py | |
parent | e271de0fabac69e1599de117856a3ae705470f21 (diff) | |
download | poky-dea2fd181aa787c1228c10664856773d5dc4bbe5.tar.gz |
bitbake/lib/bb/msg.py: fix setting debug and verbosity levels
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
incorrect variable names.
Fixes [YOCTO #1513].
(Bitbake rev: c6e88b7c0e61f9586a275df53f48b90687c5f92f)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/msg.py')
-rw-r--r-- | 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 b7ae761e4e..20d9bdd726 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/lib/bb/msg.py | |||
@@ -106,8 +106,8 @@ def init_msgconfig(verbose, debug, debug_domains = []): | |||
106 | """ | 106 | """ |
107 | Set default verbosity and debug levels config the logger | 107 | Set default verbosity and debug levels config the logger |
108 | """ | 108 | """ |
109 | bb.msg.loggerDebugLevel = debug | 109 | bb.msg.loggerDefaultDebugLevel = debug |
110 | bb.msg.loggerVerbose = verbose | 110 | bb.msg.loggerDefaultVerbose = verbose |
111 | bb.msg.loggerDefaultDomains = debug_domains | 111 | bb.msg.loggerDefaultDomains = debug_domains |
112 | 112 | ||
113 | def addDefaultlogFilter(handler): | 113 | def addDefaultlogFilter(handler): |