--log

Applicability

Product

Supported (√/x)

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Description

Sets the log level during tuning.

See Also

None

Arguments

Arguments:

  • debug: outputs debug information at the debug, info, warning, or error level.
  • info: outputs debug information at the info, warning, or error level.
  • warning: outputs debug information at the warning or error level.
  • error: outputs debug information at the error level.
  • null: outputs no debug log.

Default: For details, see the default log values in Log Reference.

Suggestions and Benefits

None

Examples

--log=debug

Dependencies and Restrictions

  • Log flushing:

    During the execution of the AOE command, no debug log is generated by default since --log is defaulted to null. To flush model conversion logs to the disk, set --log to the required log level, for example, --log=info.

  • Log printing to the screen:
    During the execution of the AOE command, log messages are not printed to the screen by default. To print log messages to the screen, set the following environment variable in the current window before you run the AOE command:
    export ASCEND_SLOG_PRINT_TO_STDOUT=1

    If no log message is printed to the screen after the preceding environment variable is set, pass a valid value other than null to the --log option in your AOE command.