9. Logging

You can enable logging output by setting the following environment variables:

  • MODEL_RUNTIME_LOG_LEVEL=[DEBUG, ERR, INFO, WARN, OFF] enables logging with the specified verbosity level. Options available:

    • OFF: No logging information. The default.

    • ERR: Only error conditions will be reported.

    • WARN: Warnings when, for example, the software cannot achieve what was requested.

    • INFO: Very high level information, such as function calls.

    • DEBUG: Extended INFO option. A log level used for events considered to be useful during software debugging when more granular information is needed.

    • TRACE: The most verbose level. All useful per-tile information

  • MODEL_RUNTIME_LOG_DEST=<filename> allows you to redirect the log to the specified file, <filename>.