Skip to content

Commit

Permalink
Reduce sqlite logging
Browse files Browse the repository at this point in the history
  • Loading branch information
AsamK committed Oct 17, 2023
1 parent 2c5edbc commit fb7c63c
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 @@ -50,6 +50,8 @@ public ExecutionStatus configure(LoggerContext lc) {
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);
lc.getLogger("org.sqlite.core.NativeDB")
.setLevel(verboseLevel > 3 ? Level.ALL : verboseLevel > 1 ? Level.INFO : Level.WARN);

if (logFile != null) {
consoleAppender.addFilter(new Filter<>() {
Expand Down

0 comments on commit fb7c63c

Please sign in to comment.