TDM Portal: Is the Portal compressed log file size and history configurable
search cancel

TDM Portal: Is the Portal compressed log file size and history configurable

book

Article ID: 190975

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

Is there a setting, or option, that can be set on the tool to limit the size of a log file being created in the compressed format?   Intend to use the logs for consumption in other tools and would like to have the file sizes set as per their needs.   Currently, they are created in 100MB increments. Also is there an option to change the number of zip files kept?

Environment

All support TDM releases.

Resolution

The TDM Portal log size is controlled by the %ProgramFiles%\CA\CA Test Data Manager Portal\conf\logback-tdm.xml file.

The logging configuration is under the <!-- file appender --> tag, on line 24:
          <maxFileSize>100MB</maxFileSize>
 
Change the maxFileSize to meet your needs. Need to stop and restart the CA Test Data Manager Portal service after making the change.
 
To change the number of zip files, update the maxHistory tag inside the <rollingPolicy> section:
         <maxHistory>5</maxHistory>


Note: When you upgrade TDM Portal, you run the risk of the logback-tdm.xml file being overwritten, so you will need to check this configuration setting, and confirm that it is set custom file size, after each upgrade.