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

Constraints

None

Applicability

Atlas training product

Atlas inference product

Atlas A2 training product/Atlas A2 inference product

Atlas A3 training product/Atlas A3 inference product

Atlas 350 Accelerator Card

Atlas 200I/500 A2 inference product