Each logging event has the following attributes:
Event type | Each generated event has a type attribute. |
Message parameters | Used for formatting the message |
eventParameters | A map of custom event parameters that can be used by custom event listeners |
throwable | Exception associated with an event |
severity | (OFF, FATAL, ERROR, WARN, INFO, FINE) - Severity of the event |
Category name | Specifies logger (used by logging frameworks such as java.util.logging or Log4J). |
Message text | User message |
LogEvent severities:
Level | Explanation |
OFF | The OFF level is intended to turn off logging. |
FINE | FINE designates fine-grained informational events that are most useful for debugging an application. |
INFO | INFO designates informational messages that highlight the progress of the application at the coarse-grained level. |
WARN | The WARN level designates potentially harmful situations. |
ERROR | The ERROR severity designates error events that may allow the application to continue running. |
FATAL | The FATAL level designates very severe error events that will presumably cause the application to abort. |
Each WSO2 SOA Enablement Server log event is extended from com.systinet.wasp.monitoring.events.WaspLogEvent. All custom log events must either extend this class or implement org.systinet.monitoring.Event.
List of default events in WSO2 SOA Enablement Server:
Default event (com.systinet.monitoring.events) | Event type | Description |
LogEventServerStart | ID - WSP4001 | Fired after successful startup of server. |
LogEventServerStop | ID - WSP4002 | Fired during server shutdown as first action in shutdown process. |
LogEventServiceStart | ID - WSP4003 | Fired in WSO2 SOA Enablement Server Runtime API during service state management. |
LogEventServiceStop | ID - WSP4004 | Fired in WSO2 SOA Enablement Server Runtime API during service state management. |
LogEventServerLog | ID - WSP4005 | Fired in WSO2 SOA Enablement Server logging API (com.idoox.debug.Category). The severity of this event depends on the priority of the logged message. LogEventServerLog event is fired only if the log message has priority com.idoox.debug.Category.INFO, com.idoox.debug.Category.WARN, or com.idoox.debug.Category.ERROR. |
LogEventUserLog | ID - USR4005 | Fired in WSO2 SOA Enablement Server logging API (org.systinet.logging.Category). The severity ranking of this event is the same as for the LogEventServerLog event. |
LogEventAuthFailed | ID - WSP5001 | Fired in WSO2 SOA Enablement Server security subsystem after failed authentication. |
LogEventAuthSuccess | ID - WSP5002 | Fired in WSO2 SOA Enablement Server security subsystem after successful authentication. |
LogEventAZFailed | ID - WSP5003 | Fired in WSO2 SOA Enablement Server security subsystem after failed authorization check. |
LogEventAZSuccess | ID - WSP5004 | Fired in WSO2 SOA Enablement Server security subsystem after successful authorization check. |