mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Reduce sqlite logging
This commit is contained in:
parent
2c5edbc981
commit
fb7c63c507
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ public class LogConfigurator extends ContextAwareBase implements Configurator {
|
||||||
lc.getLogger("org.asamk").setLevel(verboseLevel > 1 ? Level.ALL : verboseLevel > 0 ? Level.DEBUG : Level.INFO);
|
lc.getLogger("org.asamk").setLevel(verboseLevel > 1 ? Level.ALL : verboseLevel > 0 ? Level.DEBUG : Level.INFO);
|
||||||
lc.getLogger("com.zaxxer.hikari.pool.PoolBase")
|
lc.getLogger("com.zaxxer.hikari.pool.PoolBase")
|
||||||
.setLevel(verboseLevel > 2 ? Level.ALL : verboseLevel > 1 ? Level.INFO : Level.WARN);
|
.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) {
|
if (logFile != null) {
|
||||||
consoleAppender.addFilter(new Filter<>() {
|
consoleAppender.addFilter(new Filter<>() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue