Error digest and log health
This page is for administrators who check a public website's logs every day without reading them line by line. The
log viewer has two summary pages for that: Error digest (/setup/logsdigest) and Log health
(/setup/logshealth), both under Setup > Log files and both needing setup/logs
(Log viewer).
Contents
The error digest
The digest lists the distinct errors and warnings of the last 24 hours ([DigestSettings] Hours) of each kernel log:
each message masked, then normalized (numbers, ids, quoted values, paths and ERR- references set aside), grouped and
counted, most frequent first, at most 50 per log, with the most severe level and when it was last seen. Each group
links to the log filtered to it.
/setup/logsdigest/<key>shows one log;/(hours)/Nanother window (1 to 168 hours).- The request logs are grouped their own way:
404.logby reason,security.logby category and rule,csp.logby directive and blocked source. The digest on the demonstration server lists, among others, "Not found requests (404)", "Security (request classifier)" and "Content Security Policy reports".
Working with the digest
- Mark as known hides a group you have looked at and accepted (a preference of your own, at most 200 groups); Show known messages lists them again. Use it so new problems stand out.
- A group that is new today is the first thing to look at; a group whose count jumps is the second.
- Open the group's link, then a line, to see the whole request and the audit records of the same minute.
- Put recurring errors into your ticket system with the permalink; developers fix causes, operators should not "mark as known" a real fault forever.
Log health
Log health shows at a glance:
- disk used by all logs and archives against
[HealthSettings] DiskBudget(256 MB by default; a warning from 80 %, an alert above it); - the fastest growing logs and the logs over their size limit;
- logs the web server's user cannot write, and a warning when logs have mixed owners (for example root from the command line and the web server's user), which stops rotation and new lines;
- the newest error of each log, linked;
- the rotation settings in effect per log, with the INI file, section and setting each comes from.
A daily five minutes
- Error digest, default window: anything new or growing?
- Log health: any red? any unwritable log?
- Audit tab, Alerts: anything fired since yesterday?
- Note findings in your operations log or ticket system.
Procedures: Read the error digest and Check log health.
Related pages
- The log viewer
- Log retention and rotation
- Request logs: 404 and security
- Disk full
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.