-
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.
[JENKINS-9568] log parser should be able to generate a log indicating which rule was applied
Description |
Original:
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. Additionally, being able to specify the separator string (shown here as a tab) would be helpful. |
New:
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. |
Workflow | Original: JNJira [ 139736 ] | New: JNJira + In-Review [ 175141 ] |
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
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?