mirror of https://github.com/qos-ch/slf4j
fix SLF4J-359 by piggybacking on LoggerFactory thread safety
This commit is contained in:
parent
111b8e581e
commit
5f90edad8d
|
|
@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue