Log exceptions as parameters rather than as string concatenations

MSAL

By using the exception as another parameter you get the whole stack trace.

org.openrewrite.java.logging.log4j.LoggingExceptionConcatenationRecipe
mod run . --recipe=org.openrewrite.java.logging.log4j.LoggingExceptionConcatenationRecipe

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