Overview
enable_syslog_wf specifies whether to print system logs of WARN level and above (../../../../600.manage/800.logging/100.logging-overview.md) to a separate log file.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | True |
| Value range |
|
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
This feature takes effect only when the value of the max_syslog_file_count parameter is set to a non-zero positive number.
Configuration example
Configure to log system logs above WARN level to a separate log file.
obclient> ALTER SYSTEM SET enable_syslog_wf = True;
References
Log