The Event Monitoring API is used for firing and handling WSO2 SOA Enablement Server runtime events, such as server start/stop, service start/stop, authentication/authorization or success/fail and server log activity.
Fired events are handled by event listeners that can be used to integrate WSO2 SOA Enablement Server with third party management/monitoring tools, server auditing, SNMP Trap sending and other management/monitoring purposes. In the default WSO2 SOA Enablement Server configuration, an event listener called Log4JAdapter is specified. This writes all fired events by default to the log file WASP_HOME/log/logEvents.log and error events including stack traces to the log file WASP_HOME/log/errorEvents.log.
Users can create their own types of events and register their own implementations of event listeners to handle selected events.