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 printed on the screen.

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 200/300/500 Inference Product

Atlas Training Series Product