Control the log rollover/retention for CSAM logging.
search cancel

Control the log rollover/retention for CSAM logging.

book

Article ID: 402444

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

After enabling debug logging, the logs seem to be rolling quickly. Looking for a way to control the rollover/retention for the CSAM logs.

Resolution

The /opt/CA/SharedComponents/Csam/SockAdapter/cfg/logger.cfg is the config file for CSAM.

  • Increase the max size of the logs
    log4cplus.appender.file.MaxFileSize=100MB

  • Logfile retention (copies to retain)
    log4cplus.appender.file.MaxBackupIndex=5