GitHub user jvz added a comment to the discussion: Deadlock under unusual conditions
This sounds extremely promising! I was suspecting a race between writing the log event and doing a rollover check, but the necessity of rerouting stdout/stderr makes this race more likely to be a problem. I had forgotten about the changes we made to `StatusLogger` (partially because it was first a change made in 3.x, but that change was later dropped when we decided to keep the API at 2.x and then later backported conceptually). Are you seeing the same resolution in 3.0.0-beta3? GitHub link: https://github.com/apache/logging-log4j2/discussions/3837#discussioncomment-13913256 ---- This is an automatically sent email for dev@logging.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org