Destination of Logging—The Appender Objects

Apress eBooks · 2006

ConclusionIn this chapter, you have examined different Appender objects available in log4j, studied the configurable properties of each Appender, and seen examples of how to configure them through properties files and XML. You have also seen that some of the Appender objects can be configured only through XML-style configuration. You learned that log4j offers logging capabilities for stand-alone and distributed applications, and that logging information can be sent to remote destinations using technologies such as JMS, SMTP, and Telnet.Although, log4j provides a substantial variety of Appender objects tomeet different application scenarios, the coverage may not be enough just for the application you are developing. Maybe you need something special. Don’t despair—in Chapter 6, you’ll learn how to write your own specialized Appender objects to meet the demands of your application.

Read the paper · More papers on PaperTik