June 2005
Intermediate to advanced
224 pages
5h 25m
English
CHAPTER 5
![]()
Filtering, Error Handling, and Special Rendering of Log Messages
In previous chapters, we have dealt with three main components of Apache log4j: Logger, Appender, and Layout. In this chapter, you will learn how to filter the logging messages by applying different filtering criteria. You will also learn about specialized error handling mechanisms and examine how to translate application-specific domain objects to a format that log4j understands.
Filtering Explained
The process of making decisions about printing the logging information associated with each logging request is known as filtering. The decision whether to accept or reject ...
Read now
Unlock full access