You need to enable JavaScript to run this app.
Container Registry

Container Registry

Copy page
Download PDF
Audit log management
Managing audit logs
Copy page
Download PDF
Managing audit logs
After enabling log audit, you can configure the log retention period and disable this feature in the CR console.​
tip​
For more TLS information, see TLS reference.​
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.​
  1. Log in to the target instance.​
  1. Log in to the Container Registry console.​
  1. Select the target region in the top navigation bar.​
  1. 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.​
  1. On the Standard Edition instance details page, click Audit log in the left navigation bar.​
  1. On the Audit log page, click Close associated logs.​
  1. On the confirmation page, enter the required confirmation information as prompted.​
  1. 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.​
  1. Log in to the target instance.​
  1. Log in to the Container Registry console.​
  1. Select the target region in the top navigation bar.​
  1. 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.​
  1. On the Standard Edition instance details page, click Audit log in the left navigation bar.​
  1. On the Audit log page, click Set log retention time.​
  1. Enter the required retention time in Retention time.​
​
Last updated: 2026.09.23 14:37:24