summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-01-10 12:30:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-10 22:10:53 +0000
commit4428aabc92c3f70b7bf79aae5f2c2165f5b43119 (patch)
tree5d064a6ef0f6fbd0d30a500075589888fc634881 /bitbake
parentd967f3b73138d118b48805dd5e2fbb592a07c990 (diff)
downloadpoky-4428aabc92c3f70b7bf79aae5f2c2165f5b43119.tar.gz
msg: no need to hardcode the logging levels
(Bitbake rev: 8385bfb7da3a3b71f340a787d7f1502ba61c5b81) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/msg.py4
1 files changed, 2 insertions, 2 deletions
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):
34 """Formatter which ensures that our 'plain' messages (logging.INFO + 1) are used as is""" 34 """Formatter which ensures that our 'plain' messages (logging.INFO + 1) are used as is"""
35 35
36 DEBUG = logging.DEBUG 36 DEBUG = logging.DEBUG
37 VERBOSE = 19 37 VERBOSE = logging.INFO - 1
38 NOTE = logging.INFO 38 NOTE = logging.INFO
39 PLAIN = 21 39 PLAIN = logging.INFO + 1
40 ERROR = logging.ERROR 40 ERROR = logging.ERROR
41 WARNING = logging.WARNING 41 WARNING = logging.WARNING
42 CRITICAL = logging.CRITICAL 42 CRITICAL = logging.CRITICAL