Setting execution log retention levels
Execution logs contain the details of executions of scripts run by the Synthetic TEA Agent. When problems occur in your applications, execution logs can provide valuable details about what happened.
Execution logs are stored on the TEA Agent file system. By default, the last 15 execution logs files for each Execution Plan are retained. Dowloaded execution logs are stored on the App Visibility portal server. By default, the maximum total volume of execution logs stored on the server is 2 GB. The oldest execution logs are always deleted, to keep the total volume below this threshold. You can modify both of these numbers as follows:
To modify the number of execution logs saved on the TEA Agent
- On the computer where the TEA Agent is installed, from the installation directory, open \TEAAgent\WorkingFolder\Conf\agent_configuration.xml.
Set the <ArchiveRollingMax> parameter to the number of execution logs that you want to be retained on the TEA Agent computer.
Example<ArchiveRollingMax>15</ArchiveRollingMax>- Default: 15
- Minimum: 1
- Maximum: 5000
- Save the file, and restart the TEA Agent.
To modify the maximum volume of execution logs saved on the App Visibility portal server
- On the computer where the App Visibility portal server is installed, from the installation directory, open \portal\synthetic\synthetic-configuration.xml.
Set the value in the following parameter to the volume that you want allocated to downloaded execution logs on the App Visibility portal server.
Example<entry key="synthetic.executionlog.max.directory.size.mb">2048</entry>Default: 2 GB
- Save the file and restart the App Visibility portal server.
Related topic
Execution-log-requests-and-management