CHAPTER 1

image

Introduction to Application Logging

Imagine it is late at night and you are still busy debugging your application. Worse—you are debugging another person’s code! You have no clue what is wrong with the system. You are not sure where the problem lies. You cannot find any error trace. You do not know what to do, but you do know what is next—the raging managers, the anxious clients—and still it will take time to debug a piece of code without a trace of what is going on.

What is the problem? It is a well-known fact that no software is bug-free. Therefore, we need to assume that application modules may malfunction from time to time, and ...

Get Pro Apache Log4j, Second Edition 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.