Setting size and number of c2o logs to backup


Article ID: 49732


Updated On:


CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) CA Workload Automation Agent CA Process Automation Base



Instructions for setting the size of log files as well as how many to keep backed up.


If you look in the ITPAM log directory (server/c2o/log) you will likely see several copies of the c2o.log file such as this:

<Please see attached file for image>

Figure 1

Notice that each of the logs that end with a number such as c2o.log.1 has a file size of 50MB. That is because ITPAM is configured by default to make a backup of the c2o.log file when it reaches 50MB and then start a fresh c2o.log file. And by default it stores the 3 most recent copies of those 50MB back ups.

These settings can be configured in the log4j.xml file. Browse to the server/c2o/conf directory and open the log4j.xml file for editing. Search for C2OFILE and you will see the following section:

<Please see attached file for image>

Figure 2

Notice the param lines that say "MaxFileSize" and "MaxBackupIndex". These are the values for the file size and the number of c2o.log files to keep. These values can be increased, but keep in mind that the more c2o.log files that are stored, the more disk space it will be using.


Release: ITPASA99000-3.1-Process Automation-Add On License for-CA Server Automation


1558710140498000049732_sktwi1f5rjvs16rrc.gif get_app
1558710138549000049732_sktwi1f5rjvs16rrb.gif get_app