ASCEND_GLOBAL_LOG_LEVEL
Description
Sets the level of application logs and module logs. Only debug logs are supported.
Possible values are:
- 0: DEBUG
- 1: INFO
- 2: WARNING
- 3: ERROR
- 4: NULL (no log output)
- Other values: invalid
- You can run the echo $ASCEND_GLOBAL_LOG_LEVEL command to view the log level set through environment variables.
- If the environment variable is invalid, not configured, or left empty, the default log level is used.
- After the log level is set to DEBUG, service performance may be affected due to heavy log traffic.
Example
export ASCEND_GLOBAL_LOG_LEVEL=1
Restrictions
None
Applicability
Parent topic: Logs