Logging
Logging is the act of recording data about when and why an event occurred for an application. Logs are extremely useful if they've been handled correctly; otherwise, they are just noise. By reviewing the log output, there is a good chance that you can determine the cause of an event.
Logs are useful not just to handle application errors, but also to protect an application from misuse and malicious attacks as well as understand different aspects of a business.