Setting the Log Display Mode

Logs are stored in log files by default. For details, see the following sections.

You can also set the environment variable ASCEND_SLOG_PRINT_TO_STDOUT to print logs on the screen. For details, see Environment Variables.

The setting command is as follows:
export ASCEND_SLOG_PRINT_TO_STDOUT=1

To print logs on the screen, you can also save the logs to a specified file in output redirection mode when starting an application process. An example is ./main > log.txt.