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:
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.
After completing all the above steps you will have a Common Base event based on your configuration settings.