Find java.util.logging.Logger.getLogger(...) calls

Proprietary

java.util.logging ships with the JDK but lacks the structured-logging, MDC, and parameterized-message ergonomics of SLF4J or kotlin-logging. Migrate j.u.l.Logger.getLogger(...) to LoggerFactory.getLogger(...) (SLF4J) or KotlinLogging.logger { } (kotlin-logging).

org.openrewrite.kotlin.logging.FindJulLoggerGetLogger$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.logging.FindJulLoggerGetLogger$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.