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.

Get Mastering Play Framework for Scala now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.