From: Chris Larson Date: Mon, 10 Jan 2011 19:30:05 +0000 (-0700) Subject: msg: no need to hardcode the logging levels X-Git-Tag: 2011-1~2921 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4428aabc92c3f70b7bf79aae5f2c2165f5b43119;p=openembedded-core.git msg: no need to hardcode the logging levels (Bitbake rev: 8385bfb7da3a3b71f340a787d7f1502ba61c5b81) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py index 00dc139c88..9d26fa06bd 100644 --- a/bitbake/lib/bb/msg.py +++ b/bitbake/lib/bb/msg.py @@ -34,9 +34,9 @@ class BBLogFormatter(logging.Formatter): """Formatter which ensures that our 'plain' messages (logging.INFO + 1) are used as is""" DEBUG = logging.DEBUG - VERBOSE = 19 + VERBOSE = logging.INFO - 1 NOTE = logging.INFO - PLAIN = 21 + PLAIN = logging.INFO + 1 ERROR = logging.ERROR WARNING = logging.WARNING CRITICAL = logging.CRITICAL