Note
This parameter is available starting with V1.4.
Description
enable_syslog_recycle specifies whether to enable the recycle of old logs before the OBServer node starts. This parameter works with max_syslog_file_count to determine whether to consider old log files in the recycling logic.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| Default value | False |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
This parameter takes effect only when the value of the max_syslog_file_count parameter is a non-zero positive integer.
Examples
Disable the recycle of old logs before the OBServer node starts.
obclient> ALTER SYSTEM SET enable_syslog_recycle = False;