Update dependencies

This commit is contained in:
AsamK 2023-08-09 21:14:17 +02:00
parent 5e692df08c
commit b55d75ef99
2 changed files with 7 additions and 4 deletions

View file

@ -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;