HTTP Access Logging (httpAccessLogging)
HTTP access logs contain a record of all inbound HTTP client requests.
| Attribute name | Data type | Default value | Description |
|---|---|---|---|
| enabled | boolean | true | Enable access logging. |
| 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
Minimum: 0 |
20 | Maximum size of a log file, in megabytes, before being rolled over; a value of 0 means no limit. |
| maxFiles | int
Minimum: 0 |
2 | Maximum number of log files that will be kept, before the oldest file is removed; a value of 0 means no limit. |
Reference topic