Making logback have a static thread pool size

Viewed 140

My application is a desktop application and does not log heavily. It appears by default logback gives Runtime.getRuntime.availableProcessors() threads in the thread pool for logback logging.

In my case, this gives 8 threads that are doing nothing. Is there a way to reduce this thread pool size via a logback.xml file?

0 Answers
Related