Within T6, we store system logs in the database. To reduce the allocated space and make them easier to review, we use the Log Retention parameter, which allows us to select how many months of logs will be stored in the REP_LOG_SECURITY_TRAIL table in the database. The logs stored in this table include login, logout, permission changes, system changes, and the creation, update, and deletion of explorer objects.
As a prerequisite to change the log retention period, the user must have the administrator feature Manage system parameters and configurations enabled.
To use Log Retention, follow these steps:
By default, the Log Retention parameter is blank, which means all generated records are stored in the database. After filling in this field, all stored logs outside the informed period will be permanently deleted.
qablue.tech6cloud.com/api/log/DeleteLogRetention; (in this case, qablue is your domain name.)(IIS server)/(application name in IIS)/api/log/DeleteLogRetentionThe URL before the API depends on your cloud domain or, in a local environment, on the settings configured in IIS (Internet Information Services).
It is a parameter that allows you to define for how many months system logs will remain stored in the database. This helps reduce allocated space and makes visualization easier.
The stored log types include:
To change the log retention period, the user must have the administrator feature Manage system parameters and configurations enabled.
To change the log retention period, follow these steps:
api/log/DeleteLogRetention API.If you leave the Log Retention parameter blank, by default all generated records will be stored indefinitely in the database.
If old logs exist, after setting a retention period, all logs outside the informed period will be permanently deleted.
The API can be called in two ways:
Directly in the browser: domain.tech6cloud.com/api/log/DeleteLogRetention
Through external tools, such as Swagger.
No, deletion is permanent when the log retention period is applied.