Find eager string interpolation in log.error(...)
ProprietaryError logs almost always fire, so cost is rarely the issue — but a parameterized message keeps the template stable for log aggregators that group errors by template hash, and lets the throwable argument flow through SLF4J's last-arg-is-Throwable convention cleanly.
org. openrewrite. kotlin. logging. FindEagerStringInterpolationInLogError$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. logging. FindEagerStringInterpolationInLogError$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.