aboutsummaryrefslogtreecommitdiffstats
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)
downloadopenembedded-core-contrib-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):
"""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