The logger.properties file allows you to set logger attributes for your component. The properties file is loaded the first time the method Logger.getLogger(loggername) is called within an application. The logger.properties file must be either on the WebSphere Application Server class path, or the context class path. See Configuring logging properties for an application for details on the logger.properties file
To use the Common Base Events standard for events generated by your application, include the eventfactory property in your logger.properties file. The event factory property specifies the name of the Common Base Event template to use with the event factory. See Sample Common Base Event template for details on the Common Base Event template. Note that the naming convention for this is the fully qualified component name with the extension “.event.xml”. For example, a template that applies to package com.ibm.compXYZ would be called “com.ibm.compXYZ.event.xml”
Sample logger.properties file
com.ibm.websphere.abc.eventfactory=com.ibm.xyz.MyEventFactory
Related information
Configuring logging properties for an application
Sample Common Base Event template
Log level settings