From: Brett Randall Date: Wed, 24 Apr 2019 03:36:37 +0000 (+1000) Subject: Added color for logging.CRITICAL = 5 (Magenta). X-Git-Tag: v6.1.0b1~77^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2649%2Fhead;p=thirdparty%2Ftornado.git Added color for logging.CRITICAL = 5 (Magenta). Fixed #2648. --- diff --git a/tornado/log.py b/tornado/log.py index 435cd7185..e1f7c6a67 100644 --- a/tornado/log.py +++ b/tornado/log.py @@ -110,6 +110,7 @@ class LogFormatter(logging.Formatter): logging.INFO: 2, # Green logging.WARNING: 3, # Yellow logging.ERROR: 1, # Red + logging.CRITICAL: 5, # Magenta } def __init__(