Note
This parameter is no longer applicable after the architecture upgrade in V4.x and was removed starting from V4.0.0. There is no alternative solution.
Description
clog_expire_days specifies the expiration time of a clog file. A clog file is deleted when the time elapsed since the last modification of the file exceeds the expiration time.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Time |
| Default value | 3 days. |
| Value range | [1, 365] |
| Modifiable | No |
| Effective upon OBServer node restart | No |
Considerations
This parameter and the clog_disk_usage_limit_percentage parameter work together. However, the clog_disk_usage_limit_percentage parameter has higher priority. That is, when the disk usage of clogs exceeds 80%, but the time elapsed since the last modification of the clog file is less than the value specified by the clog_expire_days parameter, the clog file is still deleted.