Reduce hikari logging noise

This commit is contained in:
AsamK 2023-10-01 16:30:14 +02:00
parent 002a87d3ba
commit 6b2de3a24d

View file

@ -48,6 +48,8 @@ public class LogConfigurator extends ContextAwareBase implements Configurator {
rootLogger.addAppender(consoleAppender);
lc.getLogger("org.asamk").setLevel(verboseLevel > 1 ? Level.ALL : verboseLevel > 0 ? Level.DEBUG : Level.INFO);
lc.getLogger("com.zaxxer.hikari.pool.PoolBase")
.setLevel(verboseLevel > 2 ? Level.ALL : verboseLevel > 1 ? Level.INFO : Level.WARN);
if (logFile != null) {
consoleAppender.addFilter(new Filter<>() {