Rolling log on daily basis in CA Advanced Authentication
search cancel

Rolling log on daily basis in CA Advanced Authentication

book

Article ID: 138092

calendar_today

Updated On:

Products

CA Advanced Authentication - Strong Authentication (AuthMinder / WebFort) CA Strong Authentication CA Rapid App Security CA Risk Authentication CA Advanced Authentication CA API Gateway

Issue/Introduction

The product java applications: ArcotAdmin, ArcotUds and ArcotAfm are configured by the files udsserver.ini , adminserver.ini and arcotafm-log4j.properties file

The logging feature inside these configuration files uses the log4j convention, because the log4j libraries are used inside them.

Because customer would like to implement the logging to create a daily log file, what should be done for this?

Environment

Release : 9.0

Component : AuthMinder(Arcot WebFort)

Resolution

Below steps should be taken to create a Daily log file and changes should be made in respective ini and properties file -


#old property

#log4j.appender.afmout=org.apache.log4j.DailyRollingFileAppender


#Newly added##

log4j.appender.afmout=org.apache.log4j.RollingFileAppender


This example is driven from AFM properties file but property value should work fine for Admin and UDS both.