Logging in the age of Microservices and the Cloud
summary
Argues that tail -f breaks in auto‑scaling clouds because machines die and logs vanish, so teams must send centralized structured logs (JSON) to services like ELK, CloudWatch Logs, Loggly or Papertrail, delay formatting until storage, and index fields for fast queries. Recommends using MDC to attach request/session/user IDs and propagate request-id via headers across services, standardize key/value names and timestamp formats, use TLS (Let's Encrypt / AWS ACM) and client‑side encryption, and notes Flyway has ~4M+ downloads and boxfuse supports CloudWatch integration.
AI-written summary · about
