Skip to main content
Jun 5, 2017 7:32 PM UTC
Question

This is for Servigistics MCA line: Is there a way to enable Debug Mode logging for MCA like SPM? Client is using Weblogic with MCA.

This is for Servigistics MCA line: Is there a way to enable Debug Mode logging for MCA like SPM? Client is using Weblogic with MCA.

1 reply

Aug 21, 2017 6:34 PM UTC

Yes, the logging level within MCA is controlled by the log4j.properties file.

 

What are you trying to debug?

 

Locate the log4j.properties within your deployment and replace:

 

log4j.logger.com.mcasolutions.api=info
log4j.logger.com.mcasolutions.application=info
log4j.logger.com.mcasolutions.server=info
log4j.logger.com.mcasolutions.strategy=info
log4j.logger.com.mcasolutions.tasks = info

 

With the following:

 

log4j.logger.com.mcasolutions.api=debug
log4j.logger.com.mcasolutions.application=debug
log4j.logger.com.mcasolutions.server=debug
log4j.logger.com.mcasolutions.strategy=debug
log4j.logger.com.mcasolutions.tasks = debug

 

Note that there are separate log4j.properties files in the app and webapp.  Also, note that the webapp must be restarted after editing this file, depending upon how WebLogic is configured.

 

Then, you should check your logs.

 

Note that debugging will require significantly more free space in the file system.

 

Hope this helps.