Migrate JBoss Logging to SLF4J
MSALMigrates usage of the JBoss Logging facade to using SLF4J.
org. openrewrite. java. logging. slf4j. JBossLoggingToSlf4jmod run . --recipe= org. openrewrite. java. logging. slf4j. JBossLoggingToSlf4jInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- JBoss Logging Best Practices
- Add JBoss LogManager's SLF4J provider
- Remove a Gradle or Maven dependency
org.jboss.logging:jboss-logging - Change method name
org.jboss.logging.Logger fatal(..)toerror - Change method target to static
- Change method target to static
- Change type
org.jboss.logging.Loggertoorg.slf4j.Logger