DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Wide logging: Stripe's canonical log line pattern

Quality: 8/10 Relevance: 8/10

Summary

The article discusses Stripe's canonical log lines pattern (wide events), advocating one structured log entry per unit of work that aggregates route, user, timing, feature flags, and build information. It argues this approach enables pre-joined logs for easier correlation, supports incident response and product analytics, and highlights common pitfalls like high-cardinality fields and schema drift. Implementation guidance includes middleware-based collection and stable schema design.

🚀 Service construit par Johan Denoyer