No Debug Logs Of Spring Framework on JRF/SOA Enabled Domain (Doc ID 1483216.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.6 to 10.3.6
Information in this document applies to any platform.

Symptoms

On JRF/SOA enabled domain, deploy a Spring application enabled with log4j logging. Debug messages from the application are being logged, but none from the Spring framework.

The log4j file is in the app location as below :
 

 globug-aps.ear\globug-aps.war\WEB-INF\log4j.properties

 

The following logging from the application classes are logged to the log files, as expected. For example -
 

 log4j.logger.com.company.application.service=DEBUG

 

However, there is no logging for frameworks, such as Spring and hibernate. For example -
  

log4j.logger.org.springframework.core=DEBUG

 

Spring logging entires show up if the application runs on a base weblogic server domain.

Cause

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