mqsiformatlog コマンドを使用して、トレース情報をフォーマットします。
XML ビューアー (インターネット・ブラウザーのような)、またはファイル内の文書型定義 (DTD) を理解する XML エディターを使用する場合を除いて、mqsireadlog コマンドによって生成されたトレース情報を読み取るのは困難です。
mqsiformatlog コマンドは、 mqsireadlog コマンドによって生成されたファイルを入力データとして入手し、XML ログを構造化レコードに変換します。 さらに、現行ロケールにある XML メッセージへの挿入を検索します。 フォーマットされた出力をファイルに送信するか、またはコマンド行ウィンドウに表示するように誘導できます。
それぞれのトレース・エントリーには、タイム・スタンプおよび WebSphere Message Broker メッセージが含まれており、これには変数挿入を含む番号 (例、BIP2622) およびテキスト・ストリングが含まれます。
実行グループのサービス・トレース・ファイルをフォーマット設定するには、次のコマンドを入力します。
mqsiformatlog -i </path/to/output.xml> -o </path/to/output.txt>
ここで、
Windows で、ユーザー・トレースの開始 で作成されたトレース・ファイルをフォーマットするには、
次のコマンドを入力します。
mqsiformatlog -i trace.xml -o formattrace.log
ここで、
Timestamps are formatted in local time, 330 minutes past GMT.
2003-06-19 11:30:29.795999 2852 UserTrace BIP2632I: Message received and
propagated to 'out' terminal of MQ Input node 'Video_Test.VIDEO_XML_IN'.
2003-06-19 11:30:29.795999 2852 UserTrace BIP6060I: Parser type 'Properties'
created on behalf of node 'Video_Test.VIDEO_XML_IN' to handle portion of incoming
message of length
0 bytes beginning at offset '0'.
2003-06-19 11:30:29.795999 2852 UserTrace BIP6061I: Parser type 'MQMD'
created on behalf of node 'Video_Test.VIDEO_XML_IN' to handle portion of incoming
message of length '364' bytes beginning at offset '0'. Parser type selected based
on value 'MQHMD' from previous parser.
2003-06-19 11:30:29.795999 2852 UserTrace BIP6061I: Parser type 'MRM'
created on behalf of node 'Video_Test.VIDEO_XML_IN' to handle portion of incoming
message of length '650' bytes beginning at offset '364'. Parser type selected based
on value 'MRM' from previous parser.
2003-06-19 11:30:29.795999 2852 UserTrace BIP2537I: Node 'Video_Test.Extract
Fields':
Executing statement 'BEGIN ... END;' at (.Video_Test_Compute.Main, 2.2).
2003-06-19 11:30:29.795999 2852 UserTrace BIP2537I: Node 'Video_Test.Extract
Fields':
Executing statement 'SET OutputRoot = InputRoot;' at (.Video_Test_Compute.Main, 7.3).
2003-06-19 11:30:29.795999 2852 UserTrace BIP2538I: Node 'Video_Test.Extract
Fields':
Evaluating expression 'InputRoot' at (.Video_Test_Compute.Main, 7.20).
2003-06-19 11:30:29.795999 2852 UserTrace BIP2568I: Node 'Video_Test.Extract
Fields':
Performing tree copy of 'InputRoot' to 'OutputRoot'.
...
2003-06-19 11:30:29.827999 2852 UserTrace BIP4124I: Message propagated to
'out' terminal of Compute node 'Video_Test.Extract Fields'.
2003-06-19 11:30:29.827999 2852 UserTrace BIP2638I: The MQ Output node
'Video_Test.VIDEO_OUT' attempted to write a message to queue 'VIDEO_OUT' connected
to queue manager ''. The MQCC was '0' and the MQRC was '0'.
2003-06-19 11:30:29.827999 2852 UserTrace BIP2622I: Message successfully
output by output node 'Video_Test.VIDEO_OUT' to queue 'VIDEO_OUT' on queue manager ''.
Threads encountered in this trace:
2852