Logback 1.4.12 outputs “default THREAD FACTORY” to stdout (original) (raw)

Logback 1.4.12 has a small issue. It prints “default THREAD FACTORY” to System.out. When looking at the diff between 1.4.11 and 1.4.12 it's immediately showing up as a simple System.out.println.

Here's the diff between 1.4.11 and 1.4.12:

Problem is in the file logback-core/src/main/java/ch/qos/logback/core/util/ExecutorServiceUtil.java.

In fact it prints to System.out in 2 places inside the makeThreadFactory method:

if(EnvUtil.isJDK21OrHigher()) { // ... System.out.println("virtual THREAD FACTORY"); // ... } else { System.out.println("default THREAD FACTORY"); // ... }