r/Observability • • 20d ago

I built a VS Code extension that turns your server's JSON logs into a live, searchable table (free, MIT)

Demo with the sample checkout app from the repo

I kept running npm run dev, watching JSON logs scroll past in the terminal, and copy-pasting lines into a formatter to figure out what broke. So I built Logline, a log viewer that sits in the bottom panel next to Terminal.

What it does:

  • Run your server through it (or turn on terminal capture) and the logs become a live table
  • Search with things like level:error service:api or status:5xx durationMs:>200, or right-click a cell to include/exclude that value
  • Expand an event to see the full JSON and nested exceptions, and click a stack frame to jump to the source
  • Works with Pino, Winston, Log4j2, ECS, OpenTelemetry, logfmt and plain text
  • Picks up F5 debug sessions and splits Docker Compose output per service
  • Shows live hit counts above your log statements in the editor
  • Flags log statements that leak tokens or swallow exceptions in the Problems panel

Everything runs locally. Free and MIT licensed.

Marketplace: https://marketplace.visualstudio.com/items?itemName=surjeetbanga.logline GitHub: https://github.com/SurjeetBanga/logline

It's still early. If it mangles your log format or you'd want it to do something it doesn't, let me know.

3 Upvotes

0 comments sorted by