fix SLF4J-359 by piggybacking on LoggerFactory thread safety

This commit is contained in:
Ceki Gulcu 2016-02-26 22:25:36 +01:00
parent 111b8e581e
commit 5f90edad8d
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ public class JDK14LoggerFactory implements ILoggerFactory {
public JDK14LoggerFactory() {
loggerMap = new ConcurrentHashMap<String, Logger>();
// ensure jul initialization. see also SLF4J-359
java.util.logging.LogManager.getLogManager();
}
/*