Fix checkstyle issue

pull/22022/head
Phillip Webb 5 years ago
parent 3f36f6ea47
commit ac197be815

@ -242,9 +242,7 @@ public class Log4J2LoggingSystem extends Slf4JLoggingSystem {
for (Logger logger : getLoggerContext().getLoggers()) { for (Logger logger : getLoggerContext().getLoggers()) {
addLogger(loggers, logger.getName()); addLogger(loggers, logger.getName());
} }
getLoggerContext().getConfiguration().getLoggers().keySet().forEach((name) -> { getLoggerContext().getConfiguration().getLoggers().keySet().forEach((name) -> addLogger(loggers, name));
addLogger(loggers, name);
});
return loggers; return loggers;
} }

Loading…
Cancel
Save