Technical data

8 Configuring WebLogic Server Web Components
8-18 Administration Guide
Creating the Fields Directive
The first line of your log file must contain a directive stating the version number of the
log file format. You must also include a
Fields directive near the beginning of the
file:
#Version: 1.0
#Fields: xxxx xxxx xxxx ...
Where each xxxx describes the data fields to be recorded. Field types are specified as
either simple identifiers, or may take a prefix-identifier format, as defined in the W3C
specification. Here is an example:
#Fields: date time cs-method cs-uri
This identifier instructs the server to record the date and time of the transaction, the
request method that the client used, and the URI of the request for each HTTP access.
Each field is separated by white space, and each record is written to a new line,
appended to the log file.
Note: The
#Fields directive must be followed by a new line in the log file, so that the
first log message is not appended to the same line.
Supported Field identifiers
The following identifiers are supported, and do not require a prefix.
date
Date at which transaction completed, field has type <date>, as defined in the
W3C specification.
time
Time at which transaction completed, field has type <time>, as defined in the
W3C specification.
time-taken
Time taken for transaction to complete in seconds, field has type <fixed>, as
defined in the W3C specification.
bytes
Number of bytes transferred, field has type <integer>.
Note that the cached field defined in the W3C specification is not supported in
WebLogic Server.