Logging Common Base Events in WAS
WebSphere Application Server uses Common Base Events within its basic logging framework. Common Base Events can be created explicitly and then logged through the Java logging API, or can be created implicitly using the Java logging API directly.
Logging Common Base Events is not supported with the High Performance Extensible Logging (HPEL) log and trace mode.
An event is a notification from an application or the application server that reports information that is related to a specific problem or situation. Common Base Events provide you with a standard structure for these event notifications, which allow us to correlate events received from different applications. Log Common Base Events to capture events from different sources to help you fix a problem within an application environment or to tune system performance.
For Common Base Event creation, the application server environment provides a Common Base Event factory with a content handler that provides both runtime data and template data for Common Base Events.
Tasks
- Optional: Read about the Common Base Event types and how they are implemented within an application server. Refer to The Common Base Event in WAS.
- Read Logging Common Base Events in WAS.
- Configure the Common Base Event framework for the application server using one of the following methods:
- Logging with Common Base Event API and the Java logging API
- Generate Common Base Event content with the default event factory.
Common Base Events will now be logged according to the configuration. Use these event logs to determine the source of application problems.
Subtopics
- The Common Base Event in WAS
- Logging with Common Base Event API and the Java logging API
- java.util.logging -- Java logging programming interface
- Logger.properties file
- Logging Common Base Events in WAS
- Showlog commands for Common Base Events