Skip to the content
Documentation

[AuditRecordSettings]

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The group [AuditRecordSettings] of settings/audit.ini.

File

settings/audit.ini; override it in settings/override/audit.ini.append.php, in a siteaccess or in an extension.

Settings

Setting Default Description
BeforeAfter enabled Record before/after values (Q2). enabled | keys (keys kept, values replaced by their sha256) | disabled. Secrets are never recorded either way.
MaxValueLength 512 Longest value kept in before/after/object fields, in characters; longer ones are cut and end in "…".
ChildDepth 3 Child events (F2): how many levels below a parent are written one by one, and how many children per parent at most. Past either limit the parent counts the rest in after.children_omitted. 0 = no children at all.
MaxChildren 10000  
RequestContext enabled Extra request fields. enabled | disabled
RequestIdHeader X-Exp-Request-Id Send the request id as a response header (F2); an empty value sends none. Named like the other X-Exp-* headers of Exponential (X-Exp-Cache).
TrustedRequestIdHeader (empty) Accept the request id from a trusted front proxy instead of making one; empty = never. The header is only trusted from the addresses in TrustedProxies[] (site.ini's list when empty).
MaxLineBytes 262144 Longest line the writer reads back to find the chain's head, in bytes.

See also

Generated example: audit.ini [AuditRecordSettings]

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/audit.ini.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.