@Override
    public IDelegateFactory overrideLoggerConfig(Map<String, LogLevel> newLoggerConfig) {
        Map<String, Level> log4j2LevelMap = new HashMap<>(newLoggerConfig.size());
        for (Entry<String, LogLevel> entry : newLoggerConfig.entrySet()) {
            String loggerName = entry.getKey();
            Level level = translateLoggerLevel(entry.getValue());
            log4j2LevelMap.put(loggerName, level);
        }
        org.apache.logging.log4j.core.config.Configurator.setLevel(log4j2LevelMap);
        return this;
    }
Log4j2 logger factory.

@author Marc Savy {@literal <msavy@redhat.com>}
common/logging/log4j2/src/main/java/io/apiman/common/logging/log4j2/Log4j2LoggerFactory.java