Re: [log4j] Unstable tests on Windows

2023-11-21 Thread Matt Sicker
The GH CI build also fails randomly compared to the green builds that I push in the first place. Occasionally, this might be a platform-specific issue (which is what I’d ideally be discovering from CI), but the failing tests are generally fragile ones in the first place. While I have ideas on

Re: Change semantics of `Throwable` parameters

2023-11-21 Thread Matt Sicker
This sounds like it might be a good basis for figuring out a parallel v3 API for a “hard to mis-use” style API. However, once you go that route, you start to wonder how useful templated log messages are when you can capture a lambda instead. Parameterized log messages might work better as

Change semantics of `Throwable` parameters

2023-11-21 Thread Piotr P. Karwasz
Hi, Profiting from release 3.x we could slightly change the interpretation of throwable parameters used in logging methods. IIRC in one of our online meetings, we raised the issue of logging statements like this: logger.info("Error nr {}: {}", nr, throwable); which is not considered best