Hi all, In Log4j we have used OpenRewrite to fix several inconsistencies between our 2.x and 3.x branches and to remove Java 8 patterns from our Java 17 code. I can sincerely recommend it.
While it is still work in progress, our migration guide from Log4j 1 to Log4j 2 will contain OpenRewrite recipes at each step: https://logging.apache.org/log4j/2.x/migrate-from-log4j1.html And of course there are recipes to migrate from foreign logging APIs to Log4j API (I wonder how they ended up there ;-) ). On 16.05.2025 10:42, Vincent Potucek wrote: > Goes beyond formatting to fix real code issues Unless something changed recently, OpenRewrite does not format code and Spotless is required to fix code formatting. > Covers 400+ bug patterns with ready-to-use and extensible recipes A little gotcha: not all these recipes are Open Source. Many of them are under a source-available license, which is something to take into account before contributing. Piotr --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org