Re: [log4j] Possible concurrency bug in DatePatternConverter.formatWithoutThreadLocals(Instant,StringBuilder)?

2023-05-25 Thread Stephan Markwalder
Hi Volkan, Thank you very much for your feedback. I have created a GitHub issue: https://github.com/apache/logging-log4j2/issues/1490 I also have an almost-ready mini application to reproduce the problem which I will link in the GitHub issue in the next days, probably on Sunday. You wrote: > sh

Re: [log4j] Possible concurrency bug in DatePatternConverter.formatWithoutThreadLocals(Instant,StringBuilder)?

2023-05-25 Thread Piotr P. Karwasz
Hi Stephan, On Thu, 25 May 2023 at 21:35, Stephan Markwalder wrote: > 2. As of today, the cached formatted time is only reused if an event is > logged with the exact same `epochSecond` and `nanoOfSeconds` as the cached > time. But if the DatePatternConverter is configured with a time pattern > li