Previously, if the line had N groups and Time/Severity/Category capture group was set to N, it would be parsed as null due to the tokens.size > idx + 1 check.
Note
It might not be a bug if we intentionally parse last token exclusively as message, thus making it mandatory.
Description
Previously, if the line had N groups and Time/Severity/Category capture group was set to N, it would be parsed as
null
due to thetokens.size > idx + 1
check.Note
It might not be a bug if we intentionally parse last token exclusively as
message
, thus making it mandatory.