Glossary term
What is structured logging? Meaning for developers
In Backend in Depth
Writing each log event as a JSON object with fields (requestId, userId, durationMs). Tools can then search and count the logs.
Learn it properly · Backend in DepthLesson 5: Logging and Observability: Structured Logs, Correlation IDs, MetricsJSON logs, log levels, request IDs that follow a request through every service, and what you must never log.In Node.js From Zero
Writing each log line as a JSON object with named fields so tools can search and filter it.
Learn it properly · Node.js From ZeroLesson 6: Errors, Logging and Graceful ShutdownOperational versus programmer errors, uncaught exceptions, structured logs, health checks, and shutting down without dropping requests.In Observability & SRE
Writing each log line as machine-readable data with named fields instead of a free-text sentence.
Learn it properly · Observability & SRELesson 1: Logging That Helps: Structured Logs, Levels and Correlation IDsStructured JSON logs, levels, what to log and not log, correlation IDs across services, and sampling.