Adding PANIC log type
This commit is contained in:
parent
6bdb3bd740
commit
3a3fe22a35
@ -114,7 +114,7 @@ def logs(tenant_id):
|
||||
received_on = parse(request.json['received_on'])
|
||||
key_id = uuid.UUID(request.json['key_id'])
|
||||
|
||||
if request.json['severity'] in ['DEBUG', 'INFO', 'WARN', 'FATAL']:
|
||||
if request.json['severity'] in ['DEBUG', 'INFO', 'WARN', 'FATAL', 'PANIC']:
|
||||
severity = request.json['severity']
|
||||
else:
|
||||
severity = 'UNKNOWN'
|
||||
|
Loading…
x
Reference in New Issue
Block a user