Logs
The eleventh factor is related to application logs. Logs are the first important thing after the application itself. Without logs, your system is blind, the operational team is blind, there is no monitoring, and you won't be able to fix a single line of code, especially in a cloud infrastructure.
In a cloud environment, in our revolution, logs should change as well. A log file in the runtime execution environment is a stateful component. If the execution environment crashes, logs are gone.
Any event in your code generates a log entry, and this should be streamed out to a stateful backing service, which receives log events (from different applications) and stores them for later analysis and aggregation. There are plenty of free and open ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access