Maven Dependencies: For slf4j add following dependency to your pom. This is for slf4j which is a facade, an API, which should be implemented by a logging framework. As a logging framework logback will be used. <dependency> <groupId> org.slf4j </groupId> <artifactId> slf4j-api </artifactId> <version> ${slf4j.version} </version> <scope> compile </scope> </dependency> Add following dependency for logback. <dependency> <groupId> ch.qos.logback </groupId> <artifactId> logback-classic </artifactId> <version> ${logback.version} </version> <scope> runtime </scope> </dependency> And finally if there are libraries or legacy codes that are using log4j as logging system, add following dependency...
Software Engineering experiences and best practices