Introduction:
In case of problem with cadsmcmd it could be interesting to check the logs generated by this command.
This documentation describes how to enable the traces for cadmscmd and where are the different logs generated by this command.
Instructions:
cadsmcmd could generate logs in different locations :
- Logs of command cadsmcmd are TRC_USD_CADSMCMD_*.log located under DSM\logs. It is possible to put this module in DETAIL level with these commands :
cftrace -c add -f USD -pp SD_CONFIG -lf TRC_USD_CADSMCMD.log
cftrace -c set -l DETAIL -s 30000 -f USD -ln 10 -pp SD_CONFIG
<Please see attached file for image>

- Following environment variables could be set before executing the cadsmcmd command in order to get detailed logs on executed commands
SET SDCMD_TRACE=file
SET SDCMD_FILE=C:\TEMP\cadsmcmd.txt
<Please see attached file for image>

The file C:\temp\cadsmcmd.txt contains debug log of different actions executed by cadsmcmd
- cadsmcmd communicates with process SD APISERVER in order to execute the actions.
logs TRC_USD_APISERVER*.log could also be analyzed in case of problem with CADSMCMD commands