その他のアプリケーションとの統合 > Windchill Workgroup Manager のマニュアル > Creo Elements/Direct Modeling > 管理とコンフィギュレーション > Windchill Workgroup Manager クライアントでのデバッグログの有効化
  
Windchill Workgroup Manager クライアントでのデバッグログの有効化
Windchill の対話操作に関する問題のトラブルシューティングを行う際には、Windchill Workgroup Manager クライアントで追加のデバッグログを有効にすると便利な場合があります。Windows でクライアント環境変数を設定することで、追加のデバッグログを有効にできます (たとえば、uwgm.log での有効化、applog.log の作成など)。Windows で環境変数を設定するには、「スタート」 > 「コントロールパネル」 > 「システム」 > 「詳細設定」 > 「環境変数」 > 「ユーザー環境変数」 > 「新規」の順に選択します。
* 
デバッグログを有効にすると、システムのパフォーマンスが低下する場合があります。
uwgm.logapplog.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 は作業ディレクトリに作成されます。これらのファイルとディレクトリの場所は、logging.cfg.debug に「log_dir_path <目的のディレクトリ>」のエントリを追加することで制御できます (たとえば、log_dir_path c:\temp)。
BSC 情報による applog.log.# の作成の有効化
クライアント環境で、次のように設定します。
BSC_LOG_ACTIVATE=t
リクエスト-応答に関する *.xml の作成の有効化
クライアント環境で、次のように設定します。
UWGM_PRINT_XML_FILES=yes
アダプタログの作成の有効化
クライアント環境で、次のように設定します。
VC_LOG_DIR=<path>
std.outstd.erruwgm_client.out へのリダイレクト
クライアント環境で、次のように設定します。
PTC_WGM_STDFILES=t
Java Script Bridge ログの有効化
クライアント環境で、次のように設定します。
PTC_JS_COMMAND_LOG=t