#5731 - Optimise error log syntax and UI
| Identifier | #5731 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Optimise error log syntax and UI |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Addon | errorlog |
| Description | Optimise what we put in the error log file (where possible) with the following new syntax:
[timestamp] Component: CRITICAL|ERROR|WARNING|INFO|DEBUG error message The admin UI should parse the log accordingly, adding a new column for "level". Also, colourize each row according to its level: Critical (usually causes a critical error bailing out) - BW/WB reversal according to theme Error (usually causes a fatal_exit) - Red Warning (usually causes a warn_exit or a warned attach_message) - Yellow Info (all other non-debugging logs) - Seed Debug - Green Where a level wasn't provided in the log, default to WARNING. Notice should be logged / treated as INFO. Fix error_log and cms_error_log accordingly. Perhaps add a filter box to be able to filter by log level or component, and sorting by date or log level (level column should use language strings to stick a number out in front for proper level sorting, e.g. "0 - Critical") |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments