use of org.slf4j.bridge.SLF4JBridgeHandler in project spring-boot by spring-projects.
the class LogbackLoggingSystemTests method bridgeHandlerInstalled.
private boolean bridgeHandlerInstalled() {
java.util.logging.Logger rootLogger = LogManager.getLogManager().getLogger("");
Handler[] handlers = rootLogger.getHandlers();
for (Handler handler : handlers) {
if (handler instanceof SLF4JBridgeHandler) {
return true;
}
}
return false;
}
use of org.slf4j.bridge.SLF4JBridgeHandler in project spring-boot by spring-projects.
the class LoggingApplicationListenerTests method bridgeHandlerInstalled.
private boolean bridgeHandlerInstalled() {
Logger rootLogger = LogManager.getLogManager().getLogger("");
Handler[] handlers = rootLogger.getHandlers();
for (Handler handler : handlers) {
if (handler instanceof SLF4JBridgeHandler) {
return true;
}
}
return false;
}
Aggregations