CiviCRM Log Viewer

Development Status
Active Installs

Last updated: 2024-06-07

Works with CiviCRM 5.67 or higher.

This is a naive, simple log viewer for the CiviCRM debug log that normally goes in


It shows a summary of the entries in the current log file, in reverse chronological order, with links to a detailed view of each log entry. It makes no attempt to read or find older log files (the log files get rotated from time to time).

It's useful for quick debugging during development and testing, and also useful on production sites to allow site maintainers to quickly check for errors that might not otherwise be evident, especially low-level errors that get caught and passed up.

It uses a javascript library (highlight.js) for minimally making the output look nicer. It might break in other languages and/or non-default time/date formats, since it relies on regular expressions for parsing the log output.

Patches and bug reports welcomed.

Screenshot (click to enlarge)