Last Updated: June 8, 2026
Microservices make logging harder because one request can leave logs across many services, instances, and hosts.
Centralized logging brings those logs into one searchable place, but that is only the start. Logs also need to be structured, easy to query, connected by request or trace IDs, cost-aware, and free of sensitive data.
This chapter covers centralized logging, structured logs, trace IDs, log volume, sensitive-data handling, and how logs fit with traces and metrics.