Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Reference

- Previous: Subelements
- Next: admin-object-resource

### Attributes

The following table describes attributes for the `access-log` element.

Table 1–1 `access-log` Attributes

Attribute | Default | Description
--- | --- | ---
`format` | `%client.dns;%auth-user-name;%system.date;%request;%status;%response.length;` | (optional) Specifies the format of the access log.
`rotation-policy` | `time` | (optional) Specifies the condition that triggers log rotation. The only legal value is `time`, which rotates log files at the `rotation-interval-in-minutes` interval.
`rotation-interval-in-minutes` | `1440` | (optional) Specifies the time interval between log rotations if `rotation-policy` is set to `time`.
`rotation-suffix` | `%YYYY;%MM;%DD;-%hh;h%mm;m%ss;s` | (optional) Specifies the format of the timestamp appended to the access log name when log rotation occurs.
`rotation-enabled` | `true` | (optional) If `true`, enables log rotation.

- Previous: Subelements
- Next: admin-object-resource

- © 2010, Oracle Corporation and/or its affiliates