Lg4j Properties in sailpoint for log retention policy in Sailpoint IDN

Hi Experts,

I want to modify Log4j.properties file for getting separate connector (Application) logs in log folder in Sailpoint ISC VA. I read multiple things in sailpoint documentation but did not get any proper information on Log Retention Policy to create a 100 MB log file for 10 index per connector.
Below i have given details for Workday connector like wise i want for others too like AD and all sources.

:bangbang: Please be sure you’ve read the [docs]

  1. CCG Enable Debug Log by Connector - Compass
  2. Configure Rollingfile loggers in log4j2.properties - IdentityIQ (IIQ) / IIQ Community Knowledge Base - SailPoint Developer Community
  3. Logfile using log4j2.properties - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community

By Default configuration for workday

logger.WorkDay.name = openconnector.connector.WorkDay
logger.WorkDay.level = info
logger.WorkDay.additivity = false
logger.WorkDay.appenderRef.rolling.ref = STDOUT

logger.workday_pkg.name = openconnector.connector.workday
logger.workday_pkg.level = info
logger.workday_pkg.additivity = false
logger.workday_pkg.appenderRef.rolling.ref = STDOUT

After Modification

Define the appender

log4j.appender.WORKDAY=org.apache.log4j.RollingFileAppender
log4j.appender.WORKDAY.File=/home/sailpoint/log/workday.log
log4j.appender.WORKDAY.MaxFileSize=100MB
log4j.appender.WORKDAY.MaxBackupIndex=10
log4j.appender.WORKDAY.layout=org.apache.log4j.PatternLayout
log4j.appender.WORKDAY.layout.ConversionPattern=%d{ISO8601} [%t] %-5p %c %x - %m%n

Configure the logger

log4j.logger.WorkDay=DEBUG, WORKDAY
log4j.additivity.WorkDay=false

  • What is the result you are getting and what were you expecting?
    Expected Result: Log file for each connector should be created separately in log folder in sailpoint VA for analyzing separately.

Getting: No file got created. No Logging retention policy applied

Please help me to create separate log file for each connector.
Thanks in Advance for your efforts.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.