Closed timtebeek closed 1 year ago
Via: https://docs.openrewrite.org/recipes/java/logging/slf4j/log4jtoslf4j
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \ -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-logging-frameworks:RELEASE \ -Drewrite.activeRecipes=org.openrewrite.java.logging.slf4j.Log4jToSlf4j
You might want to remove the log4j dependencies after this one, and rely on logback that comes with spring-boot-starter-logging by default. Should be easier to switch now that you're using SLF4J.
Via: https://docs.openrewrite.org/recipes/java/logging/slf4j/log4jtoslf4j