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:
Note
Before changing this value, make sure you have sufficient disk space available on the TEA Agent computer.
Set the <ArchiveRollingMax>
parameter to the number of execution logs that you want to be retained on the TEA Agent computer.
<ArchiveRollingMax>15</ArchiveRollingMax>
Note
Downloaded execution logs are stored in the App Visibility portal database. Before changing these values, make sure your database has sufficient space allocated to accommodate the increased execution log volume.
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 |
Requesting and managing execution logs