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 every 24 hours, to keep the total volume below this threshold. You can modify 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 App Visibility portal execution log retention levels
- On the computer where the App Visibility portal server is installed, from the installation directory, open \portal\properties\portal.properties.
Set the values of the following parameters.
Parameter
Description
Default
execution.log.retention.task.period.hours
Frequency (in hours) of the cleanup task that erases old execution logs in excess of the allocated capacity
24
execution.log.db.max.capacity.mb
Maximum capacity (in MB) allocated to execution logs in the App Visibility database
2000
- Save the file and restart the App Visibility portal.
Related topic
Requesting-and-managing-execution-logs