8.4.15 User Agent Log

User Agent activity is written to a file useragent.log file.

If no system property "jsf.log" is available, then useragent.log in the current directory is used.

To specify an absolute location for the useragent.log use a -D<name>=<value> to set the system property.

 

javaw -Djsf.log=C:\LANSA\Integrator\UserAgent\useragent.log com.lansa.jsf.useragent.JSFUserAgent

 

Example

 

==============================================================================

[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://server1: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 : server1: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

==============================================================================