TDM Portal: Is the Portal Compressed Log file size Configurable
search cancel

TDM Portal: Is the Portal Compressed Log file size 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? We 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.

Environment

Release : 4.6 - 4.9

Component : CA Test Data Manager Portal

Resolution

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

The logging is configuration is under the <!-- file appender --> tag, on line 24:
          <maxFileSize>100MB</maxFileSize>

You can change the maxFileSize to meet your needs. You will need to stop and restart the CA Test Data Manager Portal service after making the change.

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.