Migrate JBoss Logging to SLF4J

MSAL

Migrates usage of the JBoss Logging facade to using SLF4J.

org.openrewrite.java.logging.slf4j.JBossLoggingToSlf4j
mod run . --recipe=org.openrewrite.java.logging.slf4j.JBossLoggingToSlf4j

Install 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.

  1. JBoss Logging Best Practices
  2. Add JBoss LogManager's SLF4J provider
  3. Remove a Gradle or Maven dependency org.jboss.logging:jboss-logging
  4. Change method name org.jboss.logging.Logger fatal(..) to error
  5. Change method target to static
  6. Change method target to static
  7. Change type org.jboss.logging.Logger to org.slf4j.Logger