From: Richard Purdie Date: Mon, 7 Feb 2011 14:46:22 +0000 (+0000) Subject: bitbake:__init__.py: Fix debug log level handling to correct debug output X-Git-Tag: 2011-1~2475 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d7eebbe9dbf0d790d4af93466f5c27127cae0999;p=openembedded-core.git bitbake:__init__.py: Fix debug log level handling to correct debug output Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py index de8100c0cb..4c7afc9c21 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py @@ -43,7 +43,7 @@ class BBLogger(Logger): Logger.__init__(self, name) def bbdebug(self, level, msg, *args, **kwargs): - return self.log(logging.DEBUG - level - 1, msg, *args, **kwargs) + return self.log(logging.DEBUG - level + 1, msg, *args, **kwargs) def plain(self, msg, *args, **kwargs): return self.log(logging.INFO + 1, msg, *args, **kwargs)