uCosminexus Application Server, Maintenance and Migration Guide

[Contents][Glossary][Index][Back][Next]

5.2.3 Output format and output items of access log of In-process HTTP Server

This subsection describes the output format and the output items of access log of the In-process HTTP Server.

Output the process results for requests of the In-process HTTP Server in access log. The output format of access log includes the default format output by default and the extended format. For details on the customization of access log of the In-process HTTP Server, see 5.17.2 Customizing the access log of the In-process HTTP Server in the uCosminexus Application Server Web Container Functionality Guide.

The output format is as follows:

Default format
 
Host-name-of-client-Authentication-user-name Access-time Request-line Status-code Sent-bytes
 

Extended format
 
Host-name-of-client-Authentication-user-name Access-time Request-line Status-code Sent-bytes Contents-of-Referrer-header Contents-of-User-Agent-header
 

The following table lists the contents of each item.

Table 5-18 Output items of access log

Item No. Item name Description
1 Host name of client Host name of client is displayed. IP address is displayed when host name is not set.
2 Authentication user name Basic user authentication name and form authentication user name is displayed. Hyphen (-) is displayed when form user authentication name and form user authentication name is not set.
3 Access time The In-process HTTP Server displays the time at which the processing of requests from the Web client started.
4 Request line Request line is displayed.
5 Status code Last status code is displayed. However, the internally redirected value is not output.
6 Sent bytes Sent bytes excluding HTTP header are displayed. Hyphen (-) is displayed for 0 byte.
7 Contents of Referrer header URL of Web page before transition is displayed.
8 Contents of User-Agent header Header that includes information of Web client (Version of browser name or browser) is displayed.

You can voluntarily add items, such as IP address of client, IP address of J2EE server, request method and the time required for processing request from client in the access log.

The example of the access log is as follows:

In default format
 
10.20.30.40 - user1 [18/Jan/2005:13:06:10 +0900] "GET / HTTP/1.0" 200 38
10.20.30.40 - user1 [18/Jan/2005:13:06:25 +0900] "GET /demo/ HTTP/1.0" 500 684 
 

In extended format
 
10.20.30.40 - user1 [18/Jan/2005:13:06:10 +0900] "GET / HTTP/1.0" 200 38 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
10.20.30.40 - user1 [18/Jan/2005:13:06:25 +0900] "GET /demo/ HTTP/1.0" 500 684 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"