Specifying log statements
The format of a log statement is as follows:
log string [at identifier]
Syntax description
string | Specify an expression that evaluates to a string. |
identifier | Optionally, specify the desired log level. Specify one of the following values: CRIT, FATAL, ERROR, WARN, INFO, DEBUG or TRACE. If you do not specify an identifier, the default is CRIT. |
For each encountered log statement, the correlator compares the specified identifer with the applicable log level to determine whether to send the specified string to a log file. If the string is to be sent to a log file, the correlator determines the appropriate log file to send it to.
The correlator uses the tree structure of EPL code to identify the applicable log level and the appropriate log file. See
Tree structure of packages, monitors, and events.