Skip to content

Commit

Permalink
Reduce hikari logging noise
Browse files Browse the repository at this point in the history
  • Loading branch information
AsamK committed Oct 1, 2023
1 parent 002a87d commit 6b2de3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/asamk/signal/logging/LogConfigurator.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public ExecutionStatus configure(LoggerContext lc) {
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<>() {
Expand Down

0 comments on commit 6b2de3a

Please sign in to comment.