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:23:30 +0100 |
commit | c6e88b7c0e61f9586a275df53f48b90687c5f92f (patch) | |
tree | 91260aba64fe69ba9583559d7fc46c9a7c0c8919 /lib/bb/msg.py | |
parent | 00fc1d7249b5e217cc7c36ac71b63ddad1c5b769 (diff) | |
download | bitbake-c6e88b7c0e61f9586a275df53f48b90687c5f92f.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].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'lib/bb/msg.py')
-rw-r--r-- | lib/bb/msg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/msg.py b/lib/bb/msg.py index b7ae761e4..20d9bdd72 100644 --- a/lib/bb/msg.py +++ b/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): |