与其他应用程序集成 > Windchill Workgroup Manager 文档 > Creo Schematics > 管理和配置 > 在 Windchill Workgroup Manager 客户端中启用调试日志记录
  
在 Windchill Workgroup Manager 客户端中启用调试日志记录
当排除 Windchill 交互问题故障时,建议在 Windchill Workgroup Manager 客户端上启用附加的调试日志记录。可通过导航至uwgm.logapplog.log“开始”“控制面板” > “系统” > “高级” > “环境变量” > “用户变量” > “新建” > 在 Windows 中设置客户端环境来启用附加的调试日志记录 (例如,在 等)。
* 
启用调试日志记录可能会降低系统性能。
启用 uwgm.log 和/或 applog.log 创建
针对常规调试使用下列环境来创建一个 logging.cfg 文本文件:
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
设置下列环境:
PTC_LOG_ACTIVATE=t
PTC_LOG_CONFIG=c:\logging.cfg
logging.cfg 文件移至 PTC_LOG_CONFIG 环境位置。
* 
如果是在解决与性能相关的问题,则请在 logging.cfg.debug 中使用以下环境。
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
* 
首选 logging.cfg.debug 中的完整调试日志记录。
* 
将在启动目录下创建 applog.log<start-in>\Log_PROE_<PROE VERSION> _<date>_<time>_<pid>_000001\uwgm.log.1。可通过将某一 "log_dir_path <desired_path>" 条目添加至 logging.cfg.debug 来对这些文件和目录的位置进行控制;例如:log_dir_path c:\temp
使用 BSC 信息来启用 applog.log.# 创建。
在客户端环境中进行下列设置:
BSC_LOG_ACTIVATE=t
启用 request/response*.xml 创建
在客户端环境中进行下列设置:
UWGM_PRINT_XML_FILES=yes
启用适配器日志文件创建
在客户端环境中进行下列设置:
VC_LOG_DIR=<path>
std.outstd.err 重新定向至 uwgm_client.out
在客户端环境中进行下列设置:
PTC_WGM_STDFILES=t
启用 Java 脚本桥日志记录
在客户端环境中进行下列设置:
PTC_JS_COMMAND_LOG=t