Logging

Logging

Logging can be enabled as follows:

  1. Open the command prompt or the CAD Exchanger Batch.
  2. 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.
  3. 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
  4. Type the Exchanger command - logging is turned on.
  5. The log.txt file will be put in the specified directory.


    • Related Articles

    • Enabling extended logging for floating license server

      The floating license server can produce a log file that details activity such as client connections or disconnections, license checkout/checkin, and other server activity. Extended logging can be enabled as follows: Find the "LOG_FORMAT = NORMAL" ...