-
Improvement
-
Resolution: Won't Fix
-
Minor
-
None
In using the log parser, I have had amusing false negatives and false positives.
I would be very helpful if there was a setting that created a log file showing the log file being applied, the rule being applied and the associated log file line.
for example: (log_parser_debug_log_<project_name>build<build_number>.txt)
Rule File: log_parsing_rules.txt
error\t14\t345\tSomething bad happened to generate a fatal error.
where
- error is the label being applied
- 14 is the line of the rules file
- 345 is the line of the log being parsed
- the remaining text is the line from the log
Additionally, being able to specify the separator string (shown here as a tab) would be helpful.
Can I run the log parser's parser outside of Jenkins
and hand it a console log
and step through its rule matching?
Is there an easy way to hack the source code to do this?