Before you begin
In cases where the events that are generated by the Java logging
API are insufficient to describe the event that needs capturing, you can create
Common Base Events with the Common Base Event factory APIs. When you create
a Common Base Event, you can add data to the Common Base Event before it is
logged. The following diagram illustrates how application code can create
and log Common Base Events:
Why and when to perform this task
The steps for generating a Common Base Event are as follows:Steps for this task
Result
After completing all the above steps you will have a Common Base event based on your configuration settings.
WebSphere Application Server is configured to use an event factory that automatically populates WebSphere Application Server-specific information into the Common Base Events that it generates. In general, it is good practice to create events using the WebSphere Application Server default Common Base Event factory because this approach ensures consistency of Common Base Event content across events. However, you can create and use other Common Base Event factories.
Related reference
java.util.logging -- Java logging programming interface
Logger.properties file