The 12 factor app states that applications should log to standard out and standard error, thus not concerting themselves with the storage and processing of their log stream. That's a good start point, but we need more than that. The 12.1 factor app does these three things:
- Supports a LOG_LEVEL configuration option
- Uses a machine readable format, such as JSON, in production
- Treats log streams as a telemetry source
Mentioned in Show
Resources
- The 12 Factor App
- Jay Kutner on the 12 Factor App via SE Radio
Books
- The DevOps Handbook by Gene Kim, Jez Humble, John Willis, Patrick Debois
- Accelerate by Nicole Forsgren, Jez Humble, Gene Kim