How to enable DEBUG mode log in arcotafm
search cancel

How to enable DEBUG mode log in arcotafm

book

Article ID: 10008

calendar_today

Updated On: 02-11-2025

Products

CA Advanced Authentication CA Strong Authentication

Issue/Introduction

How to enable DEBUG mode logs in arcotafm application that comes with CA Adapter?

Environment

CA Advanced Authentication (any supported platform)

Resolution

Below are the steps to enable DEBUG mode logging in arcotafm application. Logs will be printed in <AFM_HOME>\logs\arcotafm.log file as the default location but it can be modified to print logs at any other location.

Advanced Authentication  7.1 and  above releases - (Adapter 2.2.9 and above)

  • Navigate to <AFM_HOME>\conf\afm directory.
  • 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.

### Set log levels. For more verbose logging, change 'info' to 'debug'. ###
logger.enterprise.name=org.apache.axis2.enterprise
logger.enterprise.level=INFO

logger.frontend.name=com.arcot.integrations.frontend
logger.frontend.level=INFO

logger.samlsvc.name=com.arcot.integrations.afm.ws.samlsvc
logger.samlsvc.level=INFO

logger.common.name=com.arcot.webfort.common.api
logger.common.level=ALL

logger.authentication.name=com.arcot.webfort.authentication.api
logger.authentication.level=ALL

logger.issuance.name=com.arcot.webfort.issuance.api
logger.issuance.level=INFO

logger.pool.name=com.arcot.pool
logger.pool.level=ALL

logger.riskfortAPI.name=com.arcot.riskfortAPI
logger.riskfortAPI.level=ALL

  • Restart the arcotafm application or Application Server.


Advanced Authentication 6.2  and  5.4  releases - (Adapter 2.2.7 and below)

  • Navigate to <APPLICATION_SERVER_HOME>\webapps\arcotafm\WEB-INF\classes\
  • 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
  • Restart the arcotafm application or Application Server.