Replace Log4j 2.x Logger.isEnabled(Level.DEBUG) with SLF4J's Logger.isDebugEnabled()
MSALReplace calls to org.apache.logging.log4j.Logger.isEnabled(Level.DEBUG) with org.slf4j.Logger.isDebugEnabled().
org. openrewrite. java. logging. slf4j. Log4j2IsEnabledToSlf4jRecipes$LoggerIsEnabledLevelDebugRecipemod run . --recipe= 'org. openrewrite. java. logging. slf4j. Log4j2IsEnabledToSlf4jRecipes$LoggerIsEnabledLevelDebugRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.