Yeah. But that’s okay. For the applications that care about this, it’s just a question of how long the application thread is blocked. The logging thread can spin on its core and take as long as it wants so long as it can burn down the buffer faster than the application thread can add to it.
I thought log4j2 used a disruptor in between app thread and logging thread but maybe I’m wrong.
I thought log4j2 used a disruptor in between app thread and logging thread but maybe I’m wrong.