Configure the log level using an environment variable
You can define the log level at startup using the COLAB_CREO_LOG_LEVEL environment variable.
Example
COLAB_CREO_LOG_LEVEL=ERROR
Supported values
ERRORWARNINGINFODEBUG
Values are case-insensitive.
Configure logging using colab.properties
Logging can also be configured using a colab.properties file that is read once when PTC Creo Parametric starts.
โ ๏ธ Restart PTC Creo Parametric after modifying this file.
File location
The colab.properties file is loaded from the first location where it is found:
Creo working directory
Plugin installation directory, the directory containing
colab-creo.dll
Example configuration
Example colab.properties file:
colab_creo_log_level=DEBUG
Precedence
Precedence
When both configuration methods are used:
The environment variable
COLAB_CREO_LOG_LEVELsets the initial log level at startupcolab_creo_log_levelincolab.propertiesoverrides the environment variable if it is defined and valid.
Log files location
The log files (colab-integration.log and golab-integration.log) are written to the Creo working directory.
If the working directory is changed during the session, new log entries are written to the new working directory.
As a result, log files may be split across multiple working directories for a single session.
