🐛 Fix log coloring

This commit is contained in:
Gina Häußge committed 2021-08-03 11:40:39 +02:00
1 parent 4d60b6b604
commit a8660c9ef2
1 file changed
+4 -4
+4 -4
View File
@@ -293,16 +293,16 @@ def init_logging(
"formatters": {
"simple": {"format": simple_format},
"colored": {
"class": "colorlog.ColoredFormatter",
"format": "%(log_color)s" + simple_format,
"()": "colorlog.ColoredFormatter",
"format": "%(log_color)s" + simple_format + "%(reset)s",
"reset": True,
"log_colors": {
"DEBUG": "light_white",
"DEBUG": "cyan",
"INFO": "white",
"WARNING": "yellow",
"ERROR": "red",
"CRITICAL": "bold_red",
},
"reset": True,
},
"serial": {"format": "%(asctime)s - %(message)s"},
"timings": {"format": "%(asctime)s - %(message)s"},