12.1 Factor Apps: Logs
Three additions to the original 12 factor app logs factor
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