“They say ‘necessity is the mother of invention.’ Being able to
keep an eye on your application is a need from which emerged
logging and tracing frameworks. Application developers needed a way
to have their programs relay vital signs and other signs of life to
them. Many developers tend to use log statements as a low-tech
approach to debugging. Such an approach is often leveraged in
production, when you might not have the luxury of using your IDE’s
debugger against your production code. Also, when things go wrong,
you can trace the root of a problem using persisted logs.“Log4j is an open source logging API for Java, designed to be
‘reliable, fast, and extensible.’ To the avail of programmers
wanting to adopt an easy logging facility, Apache Log4j fits the
mold…”