3 ms·
This article doesn't look at the usecases for logging. In my mind, there are audit logs, to know what happened during an incident. You don't know what the inc
by londons_explore 7y ago
This article doesn't look at the usecases for logging.
In my mind, there are audit logs, to know what happened during an incident. You don't know what the incident will be, so you should log as much maybe-useful stuff as possible, and you only look at the logs if some incident requires attention.
There also logs to debug an issue that occurs in production but can't be diagnosed any other way. When a customer says "I clicked the log in button, but just saw a blank screen", and you have no other records, the logs will be handy.