Repository navigation
LogLens AI now runs inside your CI/CD pipeline - analyze build/test logs, get a
machine-readable report, and fail the build on real incidents. Plus every mode
now scores on one scale and explains why each anomaly was flagged.
🚀 CI/CD integration
- GitHub Action - drop LogLens into any workflow:
- uses: LoglensAI/LogLens-AI@v0.11.0
with:
source: build.log
fail-on: error # critical | error | warning | fatal | anyPosts an incident table to the job summary, adds inline annotations, and
gates the build via exit code.
--format json- clean, machine-readable output for any CI system.--fail-on <level>- non-zero exit (code 2) when an anomaly is that severity
or worse, so a bad log fails the pipeline.
🔍 Smarter, explainable detection
- Unified scoring across fast / turbo / deep - one 0–1 scale, one reason
vocabulary. Turbo now explains itself (previously gave no reasons). ↳ why:on every anomaly by default - severity, rarity, keywords, bursts.- Mode labels - each run shows the signals it used (and supervised vs. unsupervised),
so results are comparable across modes. - Rankable incidents - the most severe levels are de-saturated (always flagged,
but scored by evidence) instead of all tying at 1.0. - Live progress on previously silent phases - no more "is it stuck?".
🐛 Fixes
- Consistent line-count reporting between modes (
read → parsed). - Documented why turbo and default modes can differ (supervised vs. unsupervised).
loglens … | headno longer prints aBrokenPipeError.
📦 Install
pip install --upgrade loglensai # 0.11.0
docker pull loglensai/loglens:0.10.0Full docs: see docs/DOCUMENTATION.md · Benchmarks: docs/BENCHMARKS.md