Configuration: Logging page, select the
HTTP access log file enabled checkbox to
activate or deactivate HTTP logging. (If HTTP access log
file enabled is checked, the HTTP logging will be
HTTP requests for a
virtual host are kept in a log file that is separate from the
server's log files.
In Log file name, enter the name of the
To include a time or date stamp in the file name when the log
file is rotated, in the Log file name field,
variables to the file name. Surround each variable with percentage
For example, if you enter the following value in the
Log file name field:
the virtual host's HTTP log file will be named:
When the server instance rotates the HTTP log file, the rotated
file name contains the date stamp. For example, if the server
instance rotates the log file on 2 April, 2003 at 10:05 AM, the log
file that contains the old log messages will be named: access_2003_04_02_10_05.log.
If you do not include a time and date stamp, the rotated log
files are numbered in order of creation filenamennnnn, where filename is the name
configured for the log file. For example: access.log00007.
want the server to move old HTTP requests to another file when the
current HTTP log file reaches a specific size, do the following:
Rotation type, choose By Size.
Rotation file size, specifiy the file size
(1 - 65535 kilobytes) that triggers the server to move log
messages to a separate file. After the log file reaches the
specified size, the next time the server checks the file size, it
will rename the current log file and create a new one to store
want the server to move old HTTP requests to another file at specific
time intervals, do the following:
Rotation type, choose By Time.
In Begin rotation time, enter the
At the time that you specify, the server rotates the current
log file. If the time that you specify has already past, then
the server starts its file rotation immediately. Thereafter, the
server rotates the log file at an interval that you specify in
Rotation interval. Use the following
java.text.SimpleDateFormat format to specify a
date and time: MM-DD-yyyy-k:mm:ss.
For information about this format, refer to the J2EE Javadoc.
If you want to limit the number of retained files, select the
Limit number of retained files checkbox.
To indicate the maximum number of files to retain, enter the
number in the Files to retain checkbox.
Determine the log file rotation directory by entering that
directory in the Log file rotation directory
If you want to rotate the log file on startup, select the
Rotate log file on startup checkbox.
To change the format of the HTTP log file, click
the format of the HTTP log file by selecting
Common or Extended from
the Format list.
Set up HTTP access logs in the Extended Logging Format