Quick over view.
All Applications that you write should have good logging. But what is good logging? Let’s start with a few No Brainers. Your applications uptime is always more important than your logging. If the data that you want to write is more important than it should not be in a log but in a database of some sort. Logging is only transient data.
We can define 3 types of logging:
- Application log: All application failures, start , stop's with their reasons. (See log levels)
- Audit logs: All functional actions done on behave of consumers, with the following data who, when and what.
- Access logs: HTTP based log what ip connected to what end point at what time and with what code was answered.