All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 1/1] bitbake/lib/bb/msg.py: fix setting debug and verbosity levels
Date: Fri, 23 Sep 2011 13:43:02 +0100	[thread overview]
Message-ID: <e93b8449659b02b0abbf5f39b40488e9ba05c142.1316781566.git.paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <cover.1316781566.git.paul.eggleton@linux.intel.com>
In-Reply-To: <cover.1316781566.git.paul.eggleton@linux.intel.com>

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




  reply	other threads:[~2011-09-23 12:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-23 12:43 [PATCH 0/1] bitbake: fix -D and -v options Paul Eggleton
2011-09-23 12:43 ` Paul Eggleton [this message]
2011-09-23 15:53   ` [PATCH 1/1] bitbake/lib/bb/msg.py: fix setting debug and verbosity levels Paul Eggleton
2011-09-23 16:04 [PATCH 0/1] bitbake: fix -D and -v options v2 Paul Eggleton
2011-09-23 16:05 ` [PATCH 1/1] bitbake/lib/bb/msg.py: fix setting debug and verbosity levels Paul Eggleton
2011-09-25 15:26   ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e93b8449659b02b0abbf5f39b40488e9ba05c142.1316781566.git.paul.eggleton@linux.intel.com \
    --to=paul.eggleton@linux.intel.com \
    --cc=bitbake-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.