From 4428aabc92c3f70b7bf79aae5f2c2165f5b43119 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Mon, 10 Jan 2011 12:30:05 -0700 Subject: msg: no need to hardcode the logging levels (Bitbake rev: 8385bfb7da3a3b71f340a787d7f1502ba61c5b81) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/msg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb/msg.py') 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 -- cgit 1.2.3-korg