Apama 10.3.1 | Apama Documentation | Developing Apama Applications | Developing Apama Applications in EPL | Defining What Happens When Matching Events Are Found | Logging and printing | Specifying log statements
 
Specifying log statements
The format of a log statement is as follows:
log string [at identifier]
Syntax description
Syntax Element
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 identifier 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 Setting EPL log files and log levels dynamically.

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.