Skip to main content

Using the Log Appender

The log appender can be configured in org.apache.karaf.decanter.appender.log.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 (EM) with the default profile, enter the following command at the console prompt:
tesb:start-em-default
or
tesb:start-em-agent-log
You can stop the Event Monitoring using:
tesb:stop-em-default
or
tesb:stop-em-agent-log
Note that the tesb.start-em-default and all tesb:start-em-agent-XXX commands will set the SAM Agent to send SAM Events to the EventAdmin endpoint if the collector.sendToEventadmin=true is set in org.talend.esb.sam.agent.cfg. To use the SAM Agent with the SAM Server without sending Event to Event Monitoring this parameter needs to be set back to false. This can be done with the command:
tesb:config-em-sam-agent true
or
tesb:config-em-sam-agent false

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!