48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
+
+
|
Triggers:
<verbatim>
( trigger "trigger name" #/trigger pattern/ )
</verbatim>
# The "trigger name" can be any string
# The trigger pattern is a perl compatible regular expression
Sections:
<verbatim>
( section "section name" "start trigger" "end trigger" )
</verbatim>
# The "section name" is a string.
# The "start trigger" and "end trigger" are strings that match the name of a trigger
Expect rules:
<verbatim>
( expect [in|not-in] "section name" [> or < or =] integer #/regular expression/ )
</verbatim>
<h3>Sections</h3>
You can break your log file into sections to make applying the rules very specific. For example you may want to only apply a set of rules in the compile section of the log file related to compiler failures.
|