This chapter demonstrates the use of several log4j components in a real-life scenario. The configuration file used for these
examples is in XML style because the Filter object and Renderer object can be configured only via XML style. This chapter
also illustrates the simplicity and great extendibility of log4j. With simple components plugged in to the framework, log4j
can achieve so much powerful logging. In the next chapter, we will examine how log4j fits into the J2EE world.