# 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.

![Cheat sheet: Logging with pino](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/16d9f53e44dd4f09975b668029c2591c.webp)

- Category: Node.js
- Level: Journeyman
- Tags: Log Level, Log Redaction, nodejs, pino, Pipe (unix), Structured Logging, web-development
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/node-pro-logging-with-pino-cheat-sheet
