mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Update dependencies
This commit is contained in:
parent
5e692df08c
commit
b55d75ef99
2 changed files with 7 additions and 4 deletions
|
@ -9,6 +9,7 @@ import ch.qos.logback.classic.PatternLayout;
|
|||
import ch.qos.logback.classic.spi.Configurator;
|
||||
import ch.qos.logback.classic.spi.ILoggingEvent;
|
||||
import ch.qos.logback.core.ConsoleAppender;
|
||||
import ch.qos.logback.core.Context;
|
||||
import ch.qos.logback.core.FileAppender;
|
||||
import ch.qos.logback.core.Layout;
|
||||
import ch.qos.logback.core.encoder.LayoutWrappingEncoder;
|
||||
|
@ -34,7 +35,9 @@ public class LogConfigurator extends ContextAwareBase implements Configurator {
|
|||
LogConfigurator.scrubSensitiveInformation = scrubSensitiveInformation;
|
||||
}
|
||||
|
||||
public ExecutionStatus configure(LoggerContext lc) {
|
||||
@Override
|
||||
public ExecutionStatus configure(final Context context) {
|
||||
LoggerContext lc = (LoggerContext) context;
|
||||
final var rootLogger = lc.getLogger(Logger.ROOT_LOGGER_NAME);
|
||||
|
||||
final var defaultLevel = verboseLevel > 1 ? Level.ALL : verboseLevel > 0 ? Level.INFO : Level.WARN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue