From 235b300ca0fa8a187ad02c59ba2b2e5be842ba21 Mon Sep 17 00:00:00 2001 From: Mark Stemm Date: Tue, 23 Jul 2019 18:40:11 -0700 Subject: [PATCH] Allow all lowercase priorities Just being tolerant given that the comparison used to be entirely case-insensitive. Signed-off-by: Mark Stemm --- userspace/engine/lua/rule_loader.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/userspace/engine/lua/rule_loader.lua b/userspace/engine/lua/rule_loader.lua index 6e1698f40f6..9898f73e280 100644 --- a/userspace/engine/lua/rule_loader.lua +++ b/userspace/engine/lua/rule_loader.lua @@ -63,6 +63,7 @@ end -- Permissive for case and for common abbreviations. priorities = { Emergency=0, Alert=1, Critical=2, Error=3, Warning=4, Notice=5, Informational=5, Debug=7, + emergency=0, alert=1, critical=2, error=3, warning=4, notice=5, informational=5, debug=7, EMERGENCY=0, ALERT=1, CRITICAL=2, ERROR=3, WARNING=4, NOTICE=5, INFORMATIONAL=5, DEBUG=7, INFO=5 }