summaryrefslogtreecommitdiffstats
path: root/lib/bb/msg.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-01-10 12:30:05 -0700
committerChris Larson <chris_larson@mentor.com>2011-01-10 12:30:05 -0700
commit8385bfb7da3a3b71f340a787d7f1502ba61c5b81 (patch)
tree938fb903e889683d9f8c65f5649672687046f5f3 /lib/bb/msg.py
parent4210eb0b783bf9bbdf80b6c6806f66f3e6ec1e77 (diff)
downloadbitbake-8385bfb7da3a3b71f340a787d7f1502ba61c5b81.tar.gz
msg: no need to hardcode the logging levels
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/msg.py')
-rw-r--r--lib/bb/msg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/msg.py b/lib/bb/msg.py
index 00dc139c8..9d26fa06b 100644
--- a/lib/bb/msg.py
+++ b/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