mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Improve log level
This commit is contained in:
parent
2974b466aa
commit
78c87e501e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ public class LogConfigurator extends ContextAwareBase implements Configurator {
|
|||
}});
|
||||
final var rootLogger = lc.getLogger(Logger.ROOT_LOGGER_NAME);
|
||||
|
||||
final var defaultLevel = verboseLevel > 1 ? Level.ALL : verboseLevel > 0 ? Level.INFO : Level.WARN;
|
||||
final var defaultLevel = verboseLevel > 2 ? Level.ALL : verboseLevel > 0 ? Level.INFO : Level.WARN;
|
||||
rootLogger.setLevel(defaultLevel);
|
||||
|
||||
final var consoleLayout = verboseLevel == 0 || logFile != null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue