Logging with pino

A server's logs are how you find out what happened after it happened, so pino writes each event as one JSON line with a level, pino-http adds a line for every request, redact hides tokens and passwords, and pino-pretty makes the lines readable while you develop.

By

Updated

Cheat sheet: Logging with pino
Category
Node.js
Level
Journeyman
Tags
Log Level, Log Redaction, nodejs, pino, Pipe (unix), Structured Logging, web-development