From 0812d9ca0288b0984c5c561205a4fcbb16668bdb Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 21 Jan 2022 21:36:19 -0500 Subject: [PATCH] Add fatal to logging --- app/classes/shared/helpers.py | 6 ++++-- app/frontend/static/assets/css/crafty.css | 6 +++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app/classes/shared/helpers.py b/app/classes/shared/helpers.py index 42e91854..40aab5dd 100644 --- a/app/classes/shared/helpers.py +++ b/app/classes/shared/helpers.py @@ -253,11 +253,13 @@ class Helpers: (r'(\[.+?/INFO\])', r'\1'), (r'(\[.+?/WARN\])', r'\1'), (r'(\[.+?/ERROR\])', r'\1'), - (r'(\w+?\[/\d+?\.\d+?\.\d+?\.\d+?\:\d+?\])', r'\1'), - (r'\[(\d\d:\d\d:\d\d)\]', r'[\1]'), + (r'(\[.+?/FATAL\])', r'\1'), + (r'(\w+?\[/\d+?\.\d+?\.\d+?\.\d+?\:\d+?\])', r'\1 '), + (r'\[(\d\d:\d\d:\d\d)\]', r'[\1] '), (r'(\[.+? INFO\])', r'\1'), (r'(\[.+? WARN\])', r'\1'), (r'(\[.+? ERROR\])', r'\1') + (r'(\[.+? FATAL\])', r'\1') ] # highlight users keywords diff --git a/app/frontend/static/assets/css/crafty.css b/app/frontend/static/assets/css/crafty.css index c39b2c2a..f0fdda00 100644 --- a/app/frontend/static/assets/css/crafty.css +++ b/app/frontend/static/assets/css/crafty.css @@ -50,7 +50,11 @@ } .mc-log-error{ - color:#ff6258; + color:#af463f; +} + +.mc-log-fatal{ + color:#da0f00; } .mc-log-keyword{