Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Activating license logging

In this section:

Note

The license logging feature is subject to change.

Logging on Red Hat or Ubuntu

You can activate license logging by entering the environmental variables:

export IAR_LMS_LOG_FILE=<path_to_log_file>
export IAR_LMS_DAEMON_LOG_FILE=<path_to_log_file>

If no log level is set, the log files are created with the default log level error. To set a log level, use the environment variables:

export IAR_LMS_LOG_LEVEL="log_level"
export IAR_LMS_DAEMON_LOG_LEVEL="log_level"

The log level can be set to none, error, warning, info, or debug.

For example:

export IAR_LMS_LOG_FILE=$HOME/logfile1.txt
export IAR_LMS_DAEMON_LOG_FILE=$HOME/logfile2.txt
export IAR_LMS_LOG_LEVEL="debug"
export IAR_LMS_DAEMON_LOG_LEVEL="warning"
Logging on Windows

You can activate license logging by entering the environmental variables:

set IAR_LMS_LOG_FILE=<path_to_log_file>
set IAR_LMS_DAEMON_LOG_FILE=<path_to_log_file>

If no log level is set, the log files are created with the default log level error. To set a log level, use the environment variables:

set IAR_LMS_LOG_LEVEL=log_level
set IAR_LMS_DAEMON_LOG_LEVEL=log_level

The log level can be set to none, error, warning, info, or debug.

For example:

set IAR_LMS_LOG_FILE=C:\Users\logfile1.txt
set IAR_LMS_DAEMON_LOG_FILE=C:\Users\logfile2.txt
set IAR_LMS_LOG_LEVEL=debug
set IAR_LMS_DAEMON_LOG_LEVEL=warning