Overview
alert_log_level specifies the level for warning logs.
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 | String |
| Default Value | INFO |
| Value range | INFO, WARN, ERROR
NoteThe priority is ERROR > WARN > INFO. |
| 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
Alert logs are stored in the alert.log file located in the log/alert directory. Alert logs contain key INFO, WARN, and ERROR logs generated during system operation. For more information, see Alert logs.
Configuration example
Set the alert log level to INFO.
obclient> ALTER SYSTEM SET alert_log_level='INFO';
References
- Logs
- Log control methods