Skip to the content
Documentation

[DigestSettings]

No ratings yet

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

Summary

The group [DigestSettings] of settings/logviewer.ini.

File

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

Settings

Setting Default Description
Hours 24 The error digest (Setup > Log files > Error digest, setup/logsdigest): the distinct messages of the last Hours hours of each kernel log (or of one log), normalized (numbers, ids, hexadecimal values, quoted values and paths set aside) and counted, most frequent first. Always masked. Known messages are hidden per user (the preference admin_logviewer_known). The hours of the window when the page names none (1 to 168).
MaxMessages 50 The most messages listed per log.
MaxBytesPerFile 8388608 The most bytes read per log from the start of the window (the start is found by a binary search on the times).
Levels[] error; warning The levels listed.
LogLevels[<key>] 404=error,warning,notice The levels listed for one log, by its key, instead of Levels[]: a comma list. The not found requests (404.log) are notices, so the digest lists them only through this.
GroupBy[<key>] 404=reason; security=category-rule; csp=directive-blocked How the entries of a log are grouped, by its key: message the normalized message (the default) category-rule the first word of the line, <category>/<rule> (security.log: probe/wp-login, injection/sql ...) reason the reason= field, with ids and paths set aside (404.log: module:foo, view:content/view, node:# ...) reason-kind only the kind of the reason= field (module, view, disabled, node, object, rule, kernel) uri the method and the path, without the query, numbers set aside (GET /blog/#) directive-blocked the directive and the origin of what it blocked (csp.log: csp/script-src blocked=inline, csp/img-src blocked=https://maps.example.com); the path of a blocked URI set aside An entry that has no such field is grouped by its message.

See also

Generated example: logviewer.ini [DigestSettings]

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

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.