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