From 7494f5cef5d276663312c5ebf1433f92de864eec Mon Sep 17 00:00:00 2001 From: Suresh Sundriyal <247110+sureshsundriyal@users.noreply.github.com> Date: Fri, 11 Sep 2020 19:52:24 -0700 Subject: [PATCH] Optimize the vum-log4cpp expression --- src/formats/vmw_log.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formats/vmw_log.json b/src/formats/vmw_log.json index c1784a97..4e750d34 100644 --- a/src/formats/vmw_log.json +++ b/src/formats/vmw_log.json @@ -26,7 +26,7 @@ "pattern": "^(?\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{3})?(?:Z|[-+]\\d{2}:\\d{2})) (?[^:]+):\\s+(?\\w+):\\s+(?[^:]+):(?\\d+)?\\s+(?\\w+):?\\s+(?.*)(?:\\n(?:.|\\n)*)?$" }, "vum-log4cpp": { - "pattern": "^\\[(?\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}:\\d{3}) '(?[^']*)' (?\\d+) (?EMERG|FATAL|ALERT|CRIT|ERROR|WARN|NOTICE|INFO|DEBUG|NOTSET)\\]\\s+(\\[(?\\S+), (?\\d+)\\])? (?.*$)" + "pattern": "^\\[(?\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}:\\d{3}) '(?[^']*)' (?\\d+) (?[a-zA-Z]+)\\]\\s+(\\[(?\\S+), (?\\d+)\\])? (?.*$)" } }, "level-field": "level",