June 2005
Intermediate to advanced
224 pages
5h 25m
English
CHAPTER 4
![]()
Formatting Logging Information in log4j
In the previous chapters, we discussed the core objects in the log4j API, and learned how they interact with each other to produce flexible logging messages. We saw that the initiation of a logging process starts with Logger objects. The encapsulated logging information is passed to Appender objects, and Appender objects use Layout objects to format the logging information in a human-readable way before publishing the logging information to a destination.
How logging information is structured is very important. In a real-life application, logging information constitutes more than just debugging ...
Read now
Unlock full access