HTTP Access Logging (httpAccessLogging)
HTTP access logs contain a record of all inbound HTTP client requests.
Name | Type | Default | Description |
---|---|---|---|
enabled |
boolean |
true |
Enables access logging when the accessLogging configuration element is defined. Note: Access logging must be configured for this attribute to take effect. |
filePath |
Path to a file |
${server.output.dir}/logs/http_access.log |
Directory path and name of the access log file. Standard variable substitutions, such as ${server.output.dir}, can be used when specifying the directory path. |
id |
string |
A unique configuration ID. |
|
logFormat |
string |
%h %u %{t}W "%r" %s %b |
Specifies the log format that is used when logging client access information. |
maxFileSize |
int |
20 |
Maximum size of a log file, in megabytes, before being rolled over; a value of 0 means no limit. |
maxFiles |
int |
2 |
Maximum number of log files that will be kept, before the oldest file is removed; a value of 0 means no limit. |