🔧 ProgrammierungRequest lifecycle: HandlerMapping HandlerAdapter resolvers(16.09.2026 um 00:08 Uhr)
🔧 ProgrammierungChapter 1 - The Funkiest of All Machines(16.09.2026 um 00:13 Uhr)
🔧 AI Nachrichten President Trump Called Nvidia’s Jensen Huang About A.I. Slowdown(15.09.2026 um 23:45 Uhr)
🔧 AI Nachrichten Google’s Simulated Fruit Fly Brain Did Not Write This Article(16.09.2026 um 00:00 Uhr)
🔧 ProgrammierungRequest lifecycle: HandlerMapping HandlerAdapter resolvers(16.09.2026 um 00:08 Uhr)
🔧 ProgrammierungChapter 1 - The Funkiest of All Machines(16.09.2026 um 00:13 Uhr)
🔧 AI Nachrichten President Trump Called Nvidia’s Jensen Huang About A.I. Slowdown(15.09.2026 um 23:45 Uhr)
🔧 AI Nachrichten Google’s Simulated Fruit Fly Brain Did Not Write This Article(16.09.2026 um 00:00 Uhr)

🔧 Programmierung 🕛 vor 3 Monaten 2 Min Lesezeit
0

JSON logs in your terminal are unreadable — so I built `jlog-watch`

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht




The problem



Structured JSON logs from frameworks like pino and bunyan are unreadable with tail -f — every line is a compact JSON blob with no color, no level emphasis, and no field alignment.



If you've hit this before, you know how it goes — you end up installing pino-pretty globally, or just squinting at raw JSON blobs in the terminal.






As a solution, I created jlog-watch



Watch a JSON log file and pretty-print each new line with ANSI colors and aligned fields



Zero dependencies. Run it immediately without installing anything:




CODE
npx jlog-watch app.log






Output:




CODE
$ jlog-watch app.log
● jlog-watch watching /project/app.log
Press Ctrl+C to stop

2026-05-19 04:00:01.412 INFO server listening port=3000
2026-05-19 04:00:02.118 DEBUG incoming request method=GET path=/health
2026-05-19 04:00:07.551 ERROR unhandled exception err={"code":"ECONNREFUSED"}
^C
──────────────────────────────────────────
Stopped. errors seen: 1









How it works



Pure Node.js using fs.watchFile() for change detection, manual byte-position tracking to read only new bytes since the last event, JSON.parse per line, and ANSI escape codes for coloring — zero npm dependencies.






Why I built it



Found repeated complaints on r/node and r/devops about having to install pino-pretty or the bunyan CLI just to read your own app logs in development. Existing zero-dep alternatives either don't watch live files or require piping stdout rather than watching a persisted log file. A zero-dep file watcher that works on any JSON-per-line log file and shows clear ANSI output fills the gap cleanly without touching application code.






Try it






CODE
npx jlog-watch app.log









Part of µ micro — one new developer tool, shipped every day. All tools are zero-dependency Node.js and run instantly with npx.

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf dev.to lesen.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Protect Kubernetes Services with OAuth2 Proxy, Gateway API, Traefik, and Pocket ID
1 Quelle
Request lifecycle: HandlerMapping HandlerAdapter resolvers
1 Quelle
The best n8n fix I found this month was boring: lower your agent concurrency settings before touching the prompt
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten JSON logs in your terminal are unreadable — so I built `jlog-watch`

Thematisch verwandte Begriffe: JSON, logs, your, terminal · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...