Use the HTTP Service page to specify the general access log policy for web applications.
The HTTP service provides the facilities for deploying web applications and for making deployed web applications accessible by HTTP clients, along with virtual servers, thread pools, and the Network Configuration capability.
The Enterprise Server uses the HTTP Service Access Log to enable and configure rotation for the access logs for the virtual servers. These logs are located in the domain-dir/logs/access directory and are named as follows: virtual_server_name_access_log.yyyyMMdd-HHhmmmsss.txt
The HTTP Service page contains the following options.
Button to restore the default values of all the settings.
Identifies whether single sign-on is enabled by default for all web applications on all virtual servers on this server that are configured for the same realm. If this option is not enabled, single sign-on is disabled by default for all virtual servers, and users must authenticate separately to every application on each virtual server. You can override this setting for an individual virtual server. SSO can be can be enabled or disabled. This option is disabled by default.
If this option is selected, access logging is enabled for all virtual server sub-elements that do not specify this property. If not selected, this option disables access logging for all virtual-server sub-elements that do not specify this property. This option is disabled by default.
If this option is selected, log file rotation is enabled. This option is enabled by default.
The only available rotation policy is time.
The number of minutes between rotations of the access log. This field is valid only if the Rotation Policy is time. The default value is 1,440 minutes (24 hours).
String value to be added to the end of the log file name after rotation. The default value is yyyy-MM-dd.
Ensure that the rotation suffix contains enough values to create a unique suffix for every log rotation. For example, if the access log is rotated more frequently than once every day, include the time of day in the rotation suffix.
A unique suffix is required to ensure that the access log file is rotated every time that the rotation interval has elapsed. If the rotation suffix of the new access log file is the same as the rotation suffix of the existing access log file, the file is not rotated.
The maximum number of rotated access log files that are to be kept. A negative value indicates that there is no limit to the file count. The default value is –1.
The size, in bytes, of the access log buffer, or a value less than or equal to 0 for unbuffered access logs. The default value is 4096.
The number of seconds before the log will be written to the disk. The access log is written when the buffer is full or when the interval expires. If the value is less than or equal to 0, then the buffer is always written even if it is not full. This means that each time the server is accessed, the log message is stored directly to the file. The default value is 0.
String value that specifies what information is to be captured in the access log and the order in which it is captured. The default value is as follows:
%client.name% %auth-user-name% %datetime% %request% %status% %response.length%
The following values are available for inclusion in the format string:
Logs the value (by calling its toString method) of the request attribute with the given name
Name of authorized user
Client host name
Client DNS
The value of the request cookie with the given name
The value of the first cookie found in the request
System date
Full HTTP request line
Status
Response content length
Referer header
User agent header
HTTP method
HTTP URI
HTTP query string
HTTP protocol version
Accept header
Date header
If-Modified-Since header
Authorization header
Any valid HTTP header value defined in RFC 2616 (any is also a valid header value; it is specified as a variable here)
The value of the session attribute with the name name, or NULL-SESSION-ATTRIBUTE-name if the named attribute does not exist in the session, or NULL-SESSION if no session exists
Time (in milliseconds) it took to service each request
Virtual server ID
Additional properties for the HTTP Service. For a description of available properties, see Properties Specific to the HTTP Service.
None.