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

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 200I/500 A2 inference product

Atlas 350 Accelerator Card