Note
This parameter was introduced in OceanBase Database V1.4.
Description
enable_syslog_recycle specifies whether to record the logs generated before the startup of the OBServer node. You can use this parameter with max_syslog_file_count to specify whether to include earlier log files in the recycling logic.
Attributes
| Attribute | Description |
|---|---|
| Type | Boolean |
| 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 |
Considerations
This parameter takes effect only when the max_syslog_file_count parameter is set to a positive value. For more information about the max_syslog_file_count parameter, see max_syslog_file_count.
Examples
```shell
obclient> ALTER SYSTEM SET enable_syslog_recycle=True;
```