Apama 10.15.0 | Developing Apama Applications | Developing Apama Applications in EPL | Defining What Happens When Matching Events Are Found | Logging and printing | Where do log entries go?
 
Where do log entries go?
When the correlator needs to send the log statement output to a log file, the correlator checks whether you set a log file for the following in the order specified below:
1. The monitor or event that contains the log statement.
2. A parent of the monitor or event that contains the log statement. The correlator starts with the immediate parent and works its way up the tree as needed.
3. The correlator.
The log file that receives the log statement output is the first log file that the correlator finds. If the correlator does not find a log file, the default is that the correlator sends the string and identifier to stdout.