Initialize logger factory by doing a first call to it

Related #670
This commit is contained in:
games647
2021-12-03 10:22:33 +01:00
parent 6c47abc76d
commit 95251b611a

View File

@ -88,6 +88,9 @@ public class CommonUtil {
ClassLoader pluginLoader = CommonUtil.class.getClassLoader();
Thread.currentThread().setContextClassLoader(pluginLoader);
// Trigger provider search
LoggerFactory.getLogger(parent.getName()).info("Initialize logging service");
try {
parent.setLevel(Level.ALL);