Logging can be enabled as follows:
- Open the command prompt or the CAD Exchanger Batch.
- Go to the CAD Exchanger installation directory (e.g. cd C:/Program Files/CAD Exchanger/bin/).
Note: when the CAD Exchanger Batch is used (not the Windows command prompt), it is not necessary to change the directory. - Set the following environment variables:
Windows:
set CADEX_DEBUG=1
set CADEX_LOGGER_LEVEL=0
set CADEX_LOG_FILE=%USERPROFILE%/Documents/log.txt
Mac or Linux:
export CADEX_DEBUG=1
export CADEX_LOGGER_LEVEL=0
export CADEX_LOG_FILE=~/Desktop/log.txt - Type the Exchanger command - logging is turned on.
- The log.txt file will be put in the specified directory.