DEV Community

Small Batches

12.1 Factor Apps: Logs

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:

  1. Supports a LOG_LEVEL configuration option
  2. Uses a machine readable format, such as JSON, in production
  3. Treats log streams as a telemetry source

Mentioned in Show


Freebies
Resources
Books

Episode source