Using the File Appender
It is recommended to use the Log-Appender for production use, but the file appender provides a simple setup and can be used for test and development purposes.
The file appender can be configured in
org.apache.karaf.decanter.appender.file.cfg as
follows:
# Marshaller
marshaller.target = (dataFormat=json)
# File
filename = ${karaf.data}/eventmonitoring/em.log
After starting the Talend Runtime Container, to start the
Event Monitoring with the file appender, enter the following command at the console
prompt:
tesb:start-em-agent-file
You can stop it with:
tesb:stop-em-agent-file