Configure access logging for internal Web server HTTP transport
Overview
To debug potential problems with using the HTTP transport as an internal Web server, use the following access logging capabilities.
Procedure
- Turn access logging on. To turn access logging on, add the following custom property to the HTTP Transport's configuration settings, and set the value to false
Property name: AccessLogDisable Values: True/False Default: Access log is disabled by defaultWhen you are ready to turn access logging off, set the value of the AccessLogDisable property back to true.
- To specify your own access log file, add the following property to the transport section of the server.xml file:
The default access log file is logs/<server_instance>/http_access.log. Access log entries should have the formatProperty name: AccessLog Value: <filename> Default Value: logs/<server instance>/http_access.log<hostname or IP> <user agent> [<local time> -<status code>] <thread id> <http request> <status code> <bytecount>Note: If you are going to be using access logging for multiple HTTP transports in a single HTTP server, make sure you specify a unique filename for the access log file associated with each HTTP transport.
- Restart the server.
Result
If you have enabled access logging, there will be an access log in the location you specified.
Related Tasks
Configuring error logging for internal Web server HTTP transport