How to enable DEBUG mode logs in arcotafm application that comes with CA Adapter?
Below are the steps to enable DEBUG mode logging in arcotafm application. Logs will be printed in <AFM_HOME>\logs\arcotafm.log file.
Advanced Authentication 7.1 and above releases - (Adapter 2.2.9 and above)
a. Navigate to <AFM_HOME>\conf\afm directory.
b. Edit arcotafm-log4j.properties and change “INFO” to “DEBUG” on operations you want to debug then save. The example below is turning debug on the front-end Authentication Flow Manager modules.
c. Restart the arcotafm application or Application Server.
Advanced Authentication 6.2 and 5.4 releases - (Adapter 2.2.7 and below)
a. Navigate to <APPLICATION_SERVER_HOME>\webapps\arcotafm\WEB-INF\classes\
b. Edit log4j.properties and change “INFO” to “DEBUG” on operations you want to debug then save. The example below is turning debug on the front-end Authentication Flow Manager modules.
Before: log4j.rootLogger=INFO, afmout
After: log4j.rootLogger=DEBUG, afmout
Before: log4j.logger.com.arcot.integrations.frontend=INFO
After: log4j.logger.com.arcot.integrations.frontend=DEBUG
c. Restart the arcotafm application or Application Server.