Current.Log_matcherSourceAnalysing job logs.
analyse_job j scans the logs for j looking for known patterns. If it finds any, it returns the report string for the best one, and also logs information about all found patterns.
Add a rule that matches log text against the PCRE rule.pattern. If it matches, the error will be rule.report. In report, "\1" is replaced by the first match group, etc. If multiple rules match, the one with the highest scrore is used. If two rules with the same score match, the first is used. If a rule already exists with the same pattern, it will be replaced.
remove_rule pattern removes a rule previously added by add_rule.