Note
- For V4.3.x, this parameter is available starting with V4.3.2.
- For V4.2.x, this parameter is available starting with V4.2.3.
Description
alert_log_level specifies the level of alert logs.
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 | String |
| Default value | INFO |
| Value range | INFO, WARN, and ERROR
NoteThe priority of the levels is ERROR > WARN > INFO. |
| 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
Alert logs are stored in the alert.log file in the log/alert directory. Alert logs contain key INFO, WARN, and ERROR logs generated during system operation. For more information, see Alert logs.
Examples
Set the alert log level to INFO.
obclient> ALTER SYSTEM SET alert_log_level='INFO';
