Extending log4j to Create Custom Logging Components
In the previous chapters, we covered the core log4j framework. We have discussed how the Logger, Appender, Layout, and Filter objects interact with each other and publish logging information to a preferred destination. Apache log4j offers a vast range of Appender objects. These give us the power to publish logging data to a local machine and to distribute logging data over a network. Moreover, the flexible and highly configurable nature of log4j allows us to change logging behavior completely by merely changing the configuration file.
KeywordsConfiguration File Configuration Information Error Handler Public Class Property Title
Unable to display preview. Download preview PDF.