Severities
The Severities tab of Settings holds your own rules for the severity of a line. LogRaker already reads keywords such as ERROR or [warn] at the start of a line (see Severity keywords). Rules catch what those miss, and correct what they get wrong.
Rules
Each rule is a row that reads like a sentence: a line whose message matches this pattern gets this severity.
- Match - how the pattern compares, with the same choices as the Filter field: 'Contains', 'Matches All', 'Matches Any', 'Matches Word', 'Wildcards' and 'Regular Expression'.
- Pattern - the text to look for in a line's message, as the Message column shows it. A regular expression that isn't valid shows in red and matches nothing.
- Severity - the severity a matching line gets, or None for no severity at all.
Rules are checked from the top, and the first one that matches decides. A line no rule matches gets the severity its keyword names. So to catch a format LogRaker misses, add a rule with that severity. To stop a line from counting as an error, add a rule with None, or with the severity it should have.
Select 'Add Rule' to add a row and type its pattern. Select a row and 'Remove', or press Delete, to remove it. Drag a rule up or down to change its order. Every change can be undone.
Rules apply to log files, Folders and journals whose Stream has 'Infer severity from keywords' on. When you change a rule, those Streams read their lines again, so the Severity column, the overview strip and Problems follow at once. A syslog priority, and the severity cloud sources send with each line, always win.
Reset to Defaults removes every rule.
See also the other Settings tabs.