Find LoggerFactory.getLogger("some-name") calls
ProprietaryA string logger name is fine for named/structured loggers but is a smell when the string happens to spell out a class FQN — that should be getLogger(Foo::class.java) (or KotlinLogging.logger { }) so renames track. Flag for human review.
org. openrewrite. kotlin. logging. FindLoggerFactoryGetLoggerWithStringName$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. logging. FindLoggerFactoryGetLoggerWithStringName$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.