000033274 - How to generate SOAP logs with dates appended in RSA Adaptive Authentication on Premise version 7.1

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 5Show Document
  • View in full screen mode

Article Content

Article Number000033274
Applies ToRSA Product Set: Adaptive Authentication On Premise
RSA Product/Service Type: 7.1

How to generate SOAP logs with the following format in AAOP 7.1
aa_server.soapcalls.log < current day's log 

ResolutionThe following changes has to be made in the lo4j.properties files of Adaptive Authentication app available in webapps\AdaptiveAuthentication\WEB-INF\classes\log4j.properties
log4j.appender.soapcalls = org.apache.log4j.DailyRollingFileAppender 
log4j.appender.soapcalls.layout = org.apache.log4j.PatternLayout
log4j.appender.soapcalls.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss,SSS Z} %p - [%m]%n
#log4j.appender.soapcalls.MaxFileSize = 100MB
#log4j.appender.soapcalls.MaxBackupIndex = 4
log4j.appender.LOGFILE.DatePattern = '.'yyyy-MM-dd

Sample log4j.properties file attached.
After making the changes restart the application server for the changes to take effect and SOAP log will be generated in the following format
aa_server.soapcalls.log < current day's log