12 Factor App Logging. Instead of including code in a microservice for routing or storing logs, use one of the many good log‑management solutions on the market, several of which are listed in the twelve‑factor app. The capture, storage, curation, and archival of such stream should be handled by the execution environment.
These were framed by heroku, based on their experiences with building cloud native applications. We want to rely on common tools for monitoring and logging instead of providing our own custom solution for this. Joe kutner 01:28 hi, i’m glad to be here.
The 12 factor app is a set of best practices that guide you to build a great cloud native application.
Instead, each running process writes its event stream, unbuffered, to stdout. It merely writes these events to the standard output of the execution environment. It should not attempt to write to or manage logfiles. In a simple app on one server, you have more flexibility in how you want to approach this.