- Documentation
Container Registry
Container Registry (CR)
User guide
Audit log management
Managing audit logs
Audit log management
Managing audit logs
Managing audit logs
After enabling log audit, you can configure the log retention period and disable this feature in the CR console.
Disable log audit
You can disable log audit for an instance to save log service costs.
warning
After you disable this feature, the CR audit log topic will be deleted from the TLS. After deletion, historical logs cannot be restored. If you re-enable the audit log feature, only newly generated logs can be viewed.
- Log in to the target instance.
- Select the target region in the top navigation bar.
- In the left navigation bar, click Instance list. Then, in the Instance list area, find the Standard Edition instance where you need to create an artifact repository and click Enter instance.
- On the Standard Edition instance details page, click Audit log in the left navigation bar.
- On the Audit log page, click Close associated logs.
- On the confirmation page, enter the required confirmation information as prompted.
- Click confirm to complete the operation.
Set log retention time
You can specify the log retention period based on your business needs.
warning
The retention time can be set from 1 to 3650 days. You are charged for TLS for any retention period beyond 7 days. For TLS billing details, see TLS billing. - Log in to the target instance.
- Select the target region in the top navigation bar.
- In the left navigation bar, click Instance list. Then, in the Instance list area, find the Standard Edition instance where you need to create an artifact repository and click Enter instance.
- On the Standard Edition instance details page, click Audit log in the left navigation bar.
- On the Audit log page, click Set log retention time.
- Enter the required retention time in Retention time.
Last updated: 2026.09.23 14:37:24