Replace Log4j 2.x LogManager.getRootLogger() with SLF4J's root logger
MSALReplace org.apache.logging.log4j.LogManager.getRootLogger() with org.slf4j.LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME), since SLF4J's LoggerFactory has no getRootLogger().
org. openrewrite. java. logging. slf4j. Log4j2GetRootLoggerToSlf4jmod run . --recipe= org. openrewrite. java. logging. slf4j. Log4j2GetRootLoggerToSlf4jInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.