Note
This parameter is available starting with V1.4.
Description
enable_syslog_wf specifies whether to print system logs of the WARNING level and above to a separate log file.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| Default value | True |
| 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 feature takes effect only when the value of the max_syslog_file_count parameter is a non-zero positive number.
Examples
Set the system to print system logs of the WARNING level and above to a separate log file.
obclient> ALTER SYSTEM SET enable_syslog_wf = True;