8.4.14 ユーザー・エージェントのログ
ユーザー・エージェントのアクティビティは、useragent.logファイルに書き込まれます。
システム・プロパティjsf.logを使用できない場合、現在のディレクトリ内のuseragent.logが使用されます。
useragent.logの絶対位置を指定するには、-D<名前>=<値>を使用してシステム・プロパティを設定します。
javaw -Djsf.log=C:\LANSA\Integrator\UserAgent\useragent.log com.lansa.jsf.useragent.JSFUserAgent
例
==============================================================================
[2008-05-16 14:29:37 +1000] JSFUserAgent ( 11.4.0 ) started in graphical mode from studio.
==============================================================================
==============================================================================
[2008-05-16 14:29:40 +1000] HTTPClient: send message
[2008-05-16 14:29:40 +1000] Host: http://lansa01:1099/cgi-bin/jsmdirect?orderbind
[2008-05-16 14:29:40 +1000] Send content using mehtod : POST
[2008-05-16 14:29:40 +1000] Path: C:\Studio_Beta_Workspace\workspace\UserAgent\solutions\UserAgent\
[2008-05-16 14:29:40 +1000] File: order.xml
[2008-05-16 14:29:40 +1000] Content type: application/xml; charset=utf-8
[2008-05-16 14:29:40 +1000] Content encoding: UTF-8
[2008-05-16 14:29:40 +1000] Local encoding: Cp1252
[2008-05-16 14:29:40 +1000] Remote encoding: UTF-8
[2008-05-16 14:29:40 +1000] Connect to socks proxy : 10.2.0.191:1080
[2008-05-16 14:29:40 +1000] Connect to host : lansa01:1099
[2008-05-16 14:29:40 +1000] Read response protocol
[2008-05-16 14:29:42 +1000] HTTP/1.1 200 OK
[2008-05-16 14:29:42 +1000] Date: Fri, 16 May 2008 04:28:15 GMT
[2008-05-16 14:29:42 +1000] Server: Apache
[2008-05-16 14:29:42 +1000] X-User-Agent-File: eW91cm9yZGVyLnhtbA==
[2008-05-16 14:29:42 +1000] X-User-Agent-Path: L3RlbXA=
[2008-05-16 14:29:42 +1000] Content-Length: 541
[2008-05-16 14:29:42 +1000] Connection: close
[2008-05-16 14:29:42 +1000] Content-Type: application/xml; charset=utf-8
[2008-05-16 14:29:42 +1000]
[2008-05-16 14:29:42 +1000] Read response protocol completed
[2008-05-16 14:29:42 +1000] Response: 200 : OK
[2008-05-16 14:29:42 +1000] Response: application/xml; charset=utf-8
==============================================================================