SplFileObject reverse reader replaces file_get_contents/file() for large log performance

Custom Error Handler: captures PHP errors to a local log when server logs aren't accessible

Security: log injection prevention (CWE-117), path traversal validation, shell_exec removed

Improved error grouping: dynamic parts (client IP:port, PID) normalized for better deduplication

Grouped error view: identical errors consolidated with occurrence counts, first/last seen timestamps