From 3a3fe22a350d0db796334f9d584075e47347b397 Mon Sep 17 00:00:00 2001 From: Jarret Raim Date: Thu, 21 Mar 2013 16:34:21 -0500 Subject: [PATCH] Adding PANIC log type --- barbican_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barbican_api.py b/barbican_api.py index e547e01e3..f8ab62a00 100644 --- a/barbican_api.py +++ b/barbican_api.py @@ -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'