The Spring framework has great support for Log4J and it is easy to use Log4J for logging inside Spring applications. In this section, we will discuss the Log4J and Spring integration and how you can use it.
To install the Log4J on you machine, download it from the apache website, extract the zip file and use the log4j.jar in your project.
The Jakarta commons loggin (JCL) API provides an alternative approach to support loggin in your Spring application. Jakarta commons loggin API can