Simplified regex for event log filtering
Changes:
- Modified regex pattern
Tested:
- Ran on sandbox with changes
Change-Id: Ia6569332cd5613184e3613957632d929134542c2
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/logging_utils.robot b/lib/logging_utils.robot
index b2bb56c..9d6ca1f 100644
--- a/lib/logging_utils.robot
+++ b/lib/logging_utils.robot
@@ -10,7 +10,9 @@
# Define variables for use by callers of 'Get Error Logs'.
-${low_severity_errlog_regex} \\.(Informational|Notice|Debug|OK)$
+# Old regex: ${low_severity_errlog_regex} \\.(Informational|Notice|Debug|OK)$
+# Simplified regex string search
+${low_severity_errlog_regex} Informational|Notice|Debug|OK
&{low_severity_errlog_filter} Severity=${low_severity_errlog_regex}
&{low_severity_errlog_filter_args} filter_dict=${low_severity_errlog_filter} regex=${True} invert=${True}
# The following is equivalent to &{low_severity_errlog_filter_args} but the name may be more intuitive for