In cases where the events generated by the Java logging API are
insufficient to describe the event that needs to be captured, Common Base
Events can be created using 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 CommonBaseEvents:
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 ensures consistency of Common Base Event content across events. However, other Common Base Event factories can be create and used. See Configuring Common Base Events for an application for details on how to create and use custom event factories.
Related reference
Using the Java Logging API to Generate and Log Common Base Events