MGLS_DEBUG_LOG_DIR

OS: Linux, Windows

Use the MGLS_DEBUG_LOG_DIR environment variable to enable Mentor licensing system debugging. Setting this variable creates a client debug log file.

The client debug log file helps you troubleshoot basic licensing problems with client applications such as improperly installed licensing software, license files that cannot be located, or license files that are defined in multiple locations. The client debug log file does not contain any output from the server-side processes lmgrd or mgcld.

Note:

Setting the MGLS_DEBUG_LOG_DIR environment variable negatively impacts performance, so only turn on this variable for debugging purposes. Unset the MGLS_DEBUG_LOG_DIR environment variable when troubleshooting is complete.

The client debug log file contains information about the following:

  • Licensing environment variables

  • Licensing runtime files (location and version)

  • License file search paths

  • Licensing errors

  • Requested licenses, granted licenses, released (checked in) licenses, and validated licenses

Set the MGLS_DEBUG_LOG_DIR environment variable to a directory where you want the client debug log files written. The directory must exist and be writable by the user invoking the client application, or no log file is generated.

The client debug log file is a text file with the process ID of the application embedded in the log file name (for example: debug_log.7852.txt). Each invocation of the application creates a new log file and does not overwrite nor append existing log files.