How To Configure Servicedispatcher Debug At Ouaf 4.3.0.5 With Log4j2

(Doc ID 2418256.1)

Last updated on JULY 02, 2018

Applies to:

Oracle Utilities Framework - Version 4.3.0.5.0 and later
Information in this document applies to any platform.

Goal

On : 4.3.0.5.0 version, System Wide

How to configure servicedispatcher debug at ouaf 4.3.0.5 with log4j2
Running an upgrade project to CC&B 2.6.0.1 with FW 4.3.0.5. FW 4.3.0.5 introduces loj4j2. The existing systems use log4j and have the following setting in the log4j properties file to log CC&B service times.

log4j.logger.com.splwg.base.api.service.ServiceDispatcher=debug

How can one configure servicedispatcher debug at FW 4.3.0.5 i.e. log4j2?

The FW 4.3.0.5 dev guide https://docs.oracle.com/cd/E64848_01/43050/Oracle_Utilities_Application_Framework_SDK_v43050.pdf states the following but I don't think this is correct for log4j2 i.e. the file name is now log4j2.properties.template and the format of the file is different from log4j.

"Log Service times in spl_service.log
In log4j.properties, add the following to log service execution times:
log4j.logger.com.splwg.base.api.service.ServiceDispatcher=debug"
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms