Q. Does spring use Log4j?
Spring Boot also supports either Log4j or Log4j 2 for logging configuration, but only if one of them is on the classpath. If you are using the starter poms for assembling dependencies that means you have to exclude Logback and then include your chosen version of Log4j instead.
Q. How Log4j is implemented in spring?
To integrate log4j, all you need to do is : Puts the log4j. jar in the project classpath….xml file in the project root classpath (if you follow the Maven standard directory structure, this should be the resources folder).
Table of Contents
Randomly suggested related videos: