summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/msg.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-07 14:06:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-10 12:13:38 +0100
commit78d517e4106949c534f62b7e781f68c8b28efa2f (patch)
tree838f5791ea88fcbe689c5e34009b75d6b7d8ef30 /bitbake/lib/bb/msg.py
parent7c037b0d3e28710d868001522ad3e543c45b1802 (diff)
downloadpoky-78d517e4106949c534f62b7e781f68c8b28efa2f.tar.gz
bitbake: msg: Add explicit verbnote log level
It has become apparant we need a log level which reaches the console but isn't a warning/error. Add "verbnote" as a way of doing this, behaves as a note but with a higher priority. (Bitbake rev: 2076f12cc2f809345108b1606bd6201f41287505) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/msg.py')
-rw-r--r--bitbake/lib/bb/msg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py
index f1723be797..96f077ec49 100644
--- a/bitbake/lib/bb/msg.py
+++ b/bitbake/lib/bb/msg.py
@@ -40,6 +40,7 @@ class BBLogFormatter(logging.Formatter):
40 VERBOSE = logging.INFO - 1 40 VERBOSE = logging.INFO - 1
41 NOTE = logging.INFO 41 NOTE = logging.INFO
42 PLAIN = logging.INFO + 1 42 PLAIN = logging.INFO + 1
43 VERBNOTE = logging.INFO + 2
43 ERROR = logging.ERROR 44 ERROR = logging.ERROR
44 WARNING = logging.WARNING 45 WARNING = logging.WARNING
45 CRITICAL = logging.CRITICAL 46 CRITICAL = logging.CRITICAL
@@ -51,6 +52,7 @@ class BBLogFormatter(logging.Formatter):
51 VERBOSE: 'NOTE', 52 VERBOSE: 'NOTE',
52 NOTE : 'NOTE', 53 NOTE : 'NOTE',
53 PLAIN : '', 54 PLAIN : '',
55 VERBNOTE: 'NOTE',
54 WARNING : 'WARNING', 56 WARNING : 'WARNING',
55 ERROR : 'ERROR', 57 ERROR : 'ERROR',
56 CRITICAL: 'ERROR', 58 CRITICAL: 'ERROR',
@@ -66,6 +68,7 @@ class BBLogFormatter(logging.Formatter):
66 VERBOSE : BASECOLOR, 68 VERBOSE : BASECOLOR,
67 NOTE : BASECOLOR, 69 NOTE : BASECOLOR,
68 PLAIN : BASECOLOR, 70 PLAIN : BASECOLOR,
71 VERBNOTE: BASECOLOR,
69 WARNING : YELLOW, 72 WARNING : YELLOW,
70 ERROR : RED, 73 ERROR : RED,
71 CRITICAL: RED, 74 CRITICAL: RED,