Integration with Other Applications > Windchill Workgroup Manager Documentation > NX > Administration and Configuration (NX) > Enabling Debug Logging in Windchill Workgroup Manager Client (NX)
Enabling Debug Logging in Windchill Workgroup Manager Client (NX)
When troubleshooting Windchill interaction issues, it can be advantageous to have additional debug logging enabled on the Windchill Workgroup Manager client. You can enable additional debug logging (e.g., in the uwgm.log, creation of an applog.log, etc.) by setting the client environment in Windows by navigating to Start > Control Panel > System > Advanced > Environment Variables > User variables > New.
* 
Enabling debug logging may degrade system performance.
Enable creation of the uwgm.log and/or applog.log
For normal debugging, create a logging.cfg text file with the following environment:
verbose_level DEBUG
enable CIPSOAP DEBUG
enable UWGMCLNT_PDM_ACTIONS DEBUG
enable UWGMCLNT_CAD_ACTIONS DEBUG
enable PROWT_PDM_ACTIONS DEBUG
enable UWGM_COMM DEBUG
enable Communication DEBUG
enable ContentPlugin DEBUG
enable CurrentLogger DISABLED
enable DBObjectIBA DEBUG
enable Download DEBUG
enable HTTPDownload DEBUG
enable LocalCache DEBUG
enable Merge DISABLED
enable PartIBA DEBUG
enable Persistance DEBUG
enable Profile DEBUG
enable RefTable DISABLED
enable ServerCache DEBUG
enable ServerDownload DEBUG
enable IndexLogging DEBUG
enable ServerProfile DEBUG
enable ThreadQueue DEBUG
enable ToDo DISABLED
enable Upload DEBUG
enable WorkspaceCache DEBUG
enable Ipc DISABLED
enable WfImport DEBUG
enable DetailActionInfo DEBUG
enable Wildfire DEBUG
enable UWGMLIB_CONTENT_MANAGER DEBUG
enable UWGMLIB_PREFERENCES DEBUG
enable UWGMCLNT_PREFERENCES DEBUG
enable UWGM_CADADAPTER_TRL DEBUG
enable WWGM_ADAPTER_LOGGING DEBUG
enable WWGM_PREFERENCES DEBUG
enable PROWT_JSCB_LOG_AREA DEBUG
enable UWGM_ADAPTER DEBUG
enable WindchillRTA DEBUG
enable UWGMLIB_VFS DEBUG
enable UWGMCLNT_VFS DEBUG
enable UWGMLOCK DEBUG
enable WWGM_CLIENT_VERSION DEBUG
enable PROE_PROWT DEBUG
enable HTTP_INIT_AREA DEBUG
enable PROWT_PROP_AREA DEBUG
enable ConfigAssembly DEBUG
use_local_time yes
Set the following environment:
PTC_LOG_ACTIVATE=t
PTC_LOG_CONFIG=c:\logging.cfg
Move the logging.cfg file to the PTC_LOG_CONFIG environment location.
* 
If troubleshooting performance-related issues, use the following in logging.cfg.debug instead.
verbose_level INFO
enable CIPSOAP INFO
enable UWGMCLNT_PDM_ACTIONS ERROR
enable UWGMCLNT_CAD_ACTIONS ERROR
enable PROWT_PDM_ACTIONS ERROR
enable UWGM_COMM ERROR
enable Communication ERROR
enable ContentPlugin ERROR
enable CurrentLogger DISABLED
enable DBObjectIBA ERROR
enable Download ERROR
enable HTTPDownload ERROR
enable LocalCache ERROR
enable Merge ERROR
enable PartIBA ERROR
enable Persistance ERROR
enable Profile ERROR
enable RefTable ERROR
enable ServerCache ERROR
enable ServerDownload ERROR
enable ServerProfile ERROR
enable ThreadQueue ERROR
enable ToDo DISABLED
enable Upload ERROR
enable WorkspaceCache ERROR
enable UWGMLIB_CONTENT_MANAGER ERROR
enable UWGMLIB_PREFERENCES DISABLED
enable UWGMCLNT_PREFERENCES ERROR
enable UWGM_CADADAPTER_TRL ERROR
enable PROWT_JSCB_LOG_AREA ERROR
enable UWGM_ADAPTER INFO
enable WindchillRTA ERROR
enable ConfigAssembly ERROR
use_local_time yes
* 
Full debug logging in logging.cfg.debug is preferred.
* 
applog.log and <start-in>\Log_PROE_<PROE VERSION> _<date>_<time>_<pid>_000001\uwgm.log.1 will be created in the start-in directory. The location of these files and directories can be controlled by adding a "log_dir_path <desired_path>" entry to logging.cfg.debug; for example:log_dir_path c:\temp.
Enable creation of an applog.log.# with BSC information
Set the following in the client environment:
BSC_LOG_ACTIVATE=t
Enable creation of request/response*.xml
Set the following in the client environment:
UWGM_PRINT_XML_FILES=yes
Enable creation of Adapter logs
Set the following in the client environment:
VC_LOG_DIR=<path>
Redirect std.out, std.err to uwgm_client.out
Set the following in the client environment:
PTC_WGM_STDFILES=t
Enable Java Script Bridge logging
Set the following in the client environment:
PTC_JS_COMMAND_LOG=t
Was this helpful?