© Peter Späth 2021
P. SpäthBeginning Java MVC 1.0https://doi.org/10.1007/978-1-4842-6280-1_11

11. Logging Java MVC Applications

Peter Späth1 
(1)
Leipzig, Sachsen, Germany
 

Logging is a vital part of any application of mid- to high-level complexity. While the program runs through its execution paths, several logging statements describe what the program is doing, which parameters are passed to method calls, what values local variables and class fields have and how they change, which decisions are made, and so on. This logging information is collected and sent to a file, a database, a message queue, or whatever, and the developer and the operations team can investigate program flows for bug-fixing or auditing purposes.

This chapter is about the various ...

Get Beginning Java MVC 1.0: Model View Controller Development to Build Web, Cloud, and Microservices Applications 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.