June 2005
Intermediate to advanced
224 pages
5h 25m
English
CHAPTER 3
![]()
Destination of Logging—The Appender Objects
In the previous chapter, you learned about the Logger objects and examined the capabilities of log4j. The ability to filter logging information and use different methods in the Logger class is a great feature for application developers. But the Logger itself is not capable of printing logging messages. It does so with the help of Appender objects. Appender objects are primarily responsible for printing logging messages to different destinations such as consoles, files, sockets, NT event logs, etc. Occasionally, Appender objects can have Filter objects associated with them to make further ...
Read now
Unlock full access