Find System.err.println(...) calls
ProprietarySystem.err.println writes to stderr — better than stdout for errors, but still bypasses whatever structured logger the application uses. Route through log.error("...", throwable) so log aggregators see the context.
org. openrewrite. kotlin. logging. FindPrintErr$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. logging. FindPrintErr$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.