Repository navigation
Releases
Releases · Dhiva-Labs/loglens
LogLens v0.2.0
Error clustering and export.
Added
- Error clustering engine — groups similar errors and stack traces by frame-structure signature, with volatile-value masking (timestamps, ids, uuids, hex, quoted payloads) and a deterministic merge pass for near-identical messages
- Error clustering view (
c) — a ranked panel of clusters with[×N]counts;Enterjumps to a cluster's newest occurrence - Export (
w) — writes the currently filtered view to a file, with exclusive-create safety so an existing file is never overwritten
Full details in the changelog.
Guide: LogLens on learn.dhivalabs.com: install steps, a beginner guide and troubleshooting.
LogLens v0.1.0
First release of LogLens, a terminal UI for tailing and analyzing multiple log files live.
Added
- Merged live tail across multiple log files, each source rendered with its own color badge
- Per-file format auto-detection: JSON lines, syslog (RFC 3164), nginx (access + error), and a generic fallback
- Level highlighting (DEBUG/INFO/WARN/ERROR) as lines arrive
- Live regex filter (
/) that narrows the view as you type - Errors-only view (
e) that keeps a traceback attached to the error line that produced it - Pause with free scrollback (
p) - Buffer search (
s) withn/Nmatch navigation - Error-frequency histogram (
t) - Log-rotation and truncation handling for tailed files
- Capped 100k-line ring buffer
- Sample log generator script (
scripts/genlog.py) for demo traffic
Requires Python 3.10+. Install with pip install -e . from source.