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