publish HTTP access messages to the file system.
ds-cfg-file-based-http-access-log-publisher
ds-cfg-http-access-log-publisher
org.opends.server.loggers.TextHTTPAccessLogPublisher
Indicates whether the
will publish records asynchronously.
true
ds-cfg-asynchronous
The maximum number of log records that can be stored in the
asynchronous queue.
Setting the queue size to zero activates parallel log writer
implementation which has no queue size limit and as such the
parallel log writer should only be used on a very well tuned
server configuration to avoid potential out of memory errors.
The must be restarted if this property
is changed and the asynchronous property is set to true.
5000
ds-cfg-queue-size
The file name to use for the log files generated by the
.
The path to the file is relative to the server root.
.*
FILE
A path to an existing file that is readable by the server.
ds-cfg-log-file
The UNIX permissions of the log files created by this
.
640
^([0-7][0-7][0-7])$
MODE
A valid UNIX mode string. The mode string must contain
three digits between zero and seven.
ds-cfg-log-file-permissions
Specifies the interval at which to check whether the log files
need to be rotated.
5s
ds-cfg-time-interval
Specifies the log file buffer size.
64kb
ds-cfg-buffer-size
Specifies whether to flush the writer after every log record.
If the asynchronous writes option is used, the writer is
flushed after all the log records in the queue are written.
true
ds-cfg-auto-flush
Specifies whether to append to existing log files.
true
ds-cfg-append
The rotation policy to use for the
.
When multiple policies are used, rotation will occur if any
policy's conditions are met.
No rotation policy is used and log rotation will not occur.
ds-cfg-rotation-policy
The retention policy to use for the
.
When multiple policies are used, log files are cleaned when
any of the policy's conditions are met.
No retention policy is used and log files are never cleaned.
ds-cfg-retention-policy
Specifies how log records should be formatted and written to the HTTP
access log.
cs-host c-ip cs-username x-datetime cs-method cs-uri-query
cs-version sc-status cs(User-Agent) x-connection-id x-etime
[a-zA-Z0-9-()]+( [a-zA-Z0-9-()]+)*
FORMAT
A space separated list of fields describing the extended log format
to be used for logging HTTP accesses. Available values are listed on
the W3C working draft http://www.w3.org/TR/WD-logfile.html
and Microsoft website
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/676400bc-8969-4aa7-851a-9319490a9bbb.mspx?mfr=true
OpenDJ supports the following standard fields: "c-ip", "c-port",
"cs-host", "cs-method", "cs-uri-query", "cs(User-Agent)",
"cs-username", "cs-version", "s-computername", "s-ip", "s-port",
"sc-status".
OpenDJ supports the following application specific field extensions:
"x-connection-id" displays the internal connection ID assigned to
the HTTP client connection, "x-datetime" displays the completion
date and time for the logged HTTP request and its ouput is
controlled by the "ds-cfg-log-record-time-format" property,
"x-etime" displays the total execution time for the logged HTTP
request.
ds-cfg-log-format
Specifies the format string that is used to generate log record
timestamps.
dd/MMM/yyyy:HH:mm:ss Z
.*
STRING
Any valid format string that can be used with the
java.text.SimpleDateFormat class.
ds-cfg-log-record-time-format