Client and Server Logging
The Windchill Workgroup Manager for CATIA 3DEXPERIENCE logs are found in the folder containing the cadapp, with the crash logs from the CAD Adapter located in the CATTemp directory.
The logging capabilities of the Windchill Workgroup Manager client collect version information of Windchill Workgroup Manager client and CATIA 3DEXPERIENCE as well as preferences used by the Windchill Workgroup Manager client from the startup until the end of the session. You can find this information in the abstr_version_check.txt file located in the cadapp folder. Specifically, the log includes the following information:
Version of Windchill Workgroup Manager client including minor version, maintenance release, and patches.
Version of the CATIA 3DEXPERIENCE Abstraction Builder used to generate the DLL
CATIA 3DEXPERIENCE version including the hot fix number for the CATIA development tool that was used to generate the DLL
Windchill Workgroup Manager -relevant preferences used by the client. Since the Windchill Workgroup Manager client at startup is served by both active server-side preferences (for example, Windchill preferences) and preferences defined on the client slide (example: wgmclient.ini), this client initialization file includes the following information relevant to the Windchill Workgroup Manager client:
<WWGM preference name 1 =<value>(<source>)
<WWGM preference name 2=<value>(<source>)
<WWGM preference name 3 =<value>(<source>)
* 
<source> could be the client (driven by the value of the wgmclient.ini file), the server (the value from Windchill preference management) or the default. The default is used if a preference is not defined on the server or in the wgmclient.ini file. It is a hardcoded value that is defined as part of the client preference schema.
Collecting Logs Automatically
To enable the logging, set the following environment variables:
PTC_LOG_ACTIVATE is set to ‘t’.
PTC_LOG_CONFIG is set to the path of the file logging.cfg.
Add the following lines to the logging.cfg file to enable the logging area for particular information.
verbose_level ERROR
enable WWGM_PREFERENCES INFO
enable WWGM_ADAPTER_LOGGING INFO
enable WWGM_CLIENT_VERSION INFO
If you have set up automatic log collection, logs are automatically collected and compiled into a ZIP file when theCATIA 3DEXPERIENCEandWindchill Workgroup Managerhave been closed. When an issue occurs that you need to troubleshoot, closeCATIA 3DEXPERIENCE andWindchill Workgroup Managerand then locate the compiled log file.
Collecting Logs Manually
There are two approaches to collect logs manually:
1. The first approach is common for all adapters and it is described in the Setting and Collecting Windchill Workgroup Manager Log Files.
2. The second approach is applicable to CATIA V5 and CATIA 3DEXPERIENCE only. This approach involves the following steps:
a. Run the WWGMLogCollector.exe file from the <Windchill_Workgroup_Manager_Installation_Directory>/x86e_win64/obj.
b. Launch CATIA 3DEXPERIENCE.
c. Launch Windchill Workgroup Manager.
d. Reproduce the use case for which you want to gather logs.
e. Close CATIA 3DEXPERIENCE and Windchill Workgroup Manager.
Was this helpful?