[RequestLogSettings]
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
The group [RequestLogSettings] of settings/site.ini.
File
settings/site.ini; override it in settings/override/site.ini.append.php, in a siteaccess or in an extension.
Settings
| Setting | Default | Description |
|---|---|---|
| NotFoundLog | enabled | A request for a page that does not exist (404, 410) is written as one line in its own log beside error.log, with the reason the kernel found: an undefined module or view, a module or view this siteaccess switches off, a node or object that is not there. A request the request classifier names a probe or attack is written to security.log instead (requestclassifier.ini), never to both. Answers 401 and 403 stay notices in notice.log. enabled (the default): 404s go to NotFoundLogFile and no longer to error.log, which keeps the real faults. disabled: error.log as before. |
| NotFoundLogFile | 404.log | The file in the log directory (var/log, or the site's log directory with [FileSettings] UseGlobalLogDir=disabled). Rotated as the other logs are. |
| MaskIP | enabled | enabled (the default): the address of the client is written with its host part hidden (203.0.x.x, 2001:db8:x:x), never in full. |
| MaxURILength | 300 | The longest address written; a longer one is cut and ends in "...". The values of the query are always written as ***. |
See also
Generated example: site.ini [RequestLogSettings]
Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/site.ini.
Contributors
- Graham Brookins Updated
Comments
Add a comment