與其他應用程式整合 > Windchill Workgroup Manager 文件集 > Creo Illustrate > 管理與組態 > 配置企業實作 > 在 Windchill Workgroup Manager 用戶端中啟用偵錯記錄
  
在 Windchill Workgroup Manager 用戶端中啟用偵錯記錄
疑難排解 Windchill 互動問題時,在 Windchill Workgroup Manager 用戶端啟用偵錯記錄會有所助益。您可以在 Windows 中設定用戶端環境來啟用其他偵錯記錄 (例如,在 uwgm.log 中建立 applog.log 等),方法是導覽至「開始」 > 「控制台」 > 「系統」 > 「進階」 > 「環境變數」 > 「使用者變數」 > 「新建」
* 
啟用偵錯記錄可能會降低系統效能。
啟用 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
啟用 Adapter 記錄檔的建立
在用戶端環境中設定以下內容:
VC_LOG_DIR=<path>
重新導向 std.outstd.erruwgm_client.out
在用戶端環境中設定以下內容:
PTC_WGM_STDFILES=t
啟用 Java Script Bridge 記錄
在用戶端環境中設定以下內容:
PTC_JS_COMMAND_LOG=t