ComplexExpression
DEFINING FILTER FORMULAS
Defining Filter Formulas
Filters may be defined for any log process. A filter sets the conditions that determine if data received by the Log Manager will be saved into the log database. A filter is defined in the Filter field of the Log Information dialog box (i.e., the dialog box opened when you create or edit a log process). If no filter is defined, then all the data received is automatically logged.
Filter Formula
The filter formula uses Backus-Naur Form (BNF) as follows:
Filter::=SimpleExpression
ComplexExpression
<NULL>
SimpleExpression::=Variable rel_op Value
Variable::= "VALUE"
"DATE"
"TIME"
rel_op::= ">" "<" ">=" "<=" "==" "!="
Value::=<INTEGER VALUE>
<yymmdd>
<hhmmss>
ComplexExpression::=
"(" SimpleExpression ")"
"(" ComplexExpression ")" ComplexExpression logic_op logic_op::="AND""OR"