Extending log4j to Create Custom Logging Components

  • Samudra Gupta


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.


Configuration File Configuration Information Error Handler Public Class Property Title 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Samudra Gupta 2003

Authors and Affiliations

  • Samudra Gupta

There are no affiliations available

Personalised recommendations