ASCEND_SLOG_PRINT_TO_STDOUT

Description

Enables or disables log printing. After this function is enabled, logs are not saved in the log file. Instead, the generated logs are directly printed and displayed.

Possible values are:

  • 0: disabled. Logs are saved in the log file, which is the default log output mode.
  • 1: enabled.
  • Other values: invalid
  • You can run the echo $ASCEND_SLOG_PRINT_TO_STDOUT command to view the values set through environment variables.
  • If the environment variable is not configured, invalid, or left empty, the default log output mode is used.

Example

export ASCEND_SLOG_PRINT_TO_STDOUT=1

Restrictions

None

Applicability

Atlas training products

Atlas inference products

Atlas A2 training products/Atlas A2 inference products

Atlas A3 training products/Atlas A3 inference products

Atlas 200I/500 A2 inference products