mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Update dependencies
This commit is contained in:
parent
2d73ba6735
commit
9a63f97a19
2 changed files with 2 additions and 4 deletions
|
@ -13,7 +13,7 @@ dependencyResolutionManagement {
|
||||||
version("slf4j", "2.0.7")
|
version("slf4j", "2.0.7")
|
||||||
library("slf4j.api", "org.slf4j", "slf4j-api").versionRef("slf4j")
|
library("slf4j.api", "org.slf4j", "slf4j-api").versionRef("slf4j")
|
||||||
library("slf4j.jul", "org.slf4j", "jul-to-slf4j").versionRef("slf4j")
|
library("slf4j.jul", "org.slf4j", "jul-to-slf4j").versionRef("slf4j")
|
||||||
library("logback", "ch.qos.logback", "logback-classic").version("1.4.10")
|
library("logback", "ch.qos.logback", "logback-classic").version("1.4.11")
|
||||||
|
|
||||||
|
|
||||||
library("signalservice", "com.github.turasa", "signal-service-java").version("2.15.3_unofficial_78")
|
library("signalservice", "com.github.turasa", "signal-service-java").version("2.15.3_unofficial_78")
|
||||||
|
|
|
@ -9,7 +9,6 @@ import ch.qos.logback.classic.PatternLayout;
|
||||||
import ch.qos.logback.classic.spi.Configurator;
|
import ch.qos.logback.classic.spi.Configurator;
|
||||||
import ch.qos.logback.classic.spi.ILoggingEvent;
|
import ch.qos.logback.classic.spi.ILoggingEvent;
|
||||||
import ch.qos.logback.core.ConsoleAppender;
|
import ch.qos.logback.core.ConsoleAppender;
|
||||||
import ch.qos.logback.core.Context;
|
|
||||||
import ch.qos.logback.core.FileAppender;
|
import ch.qos.logback.core.FileAppender;
|
||||||
import ch.qos.logback.core.Layout;
|
import ch.qos.logback.core.Layout;
|
||||||
import ch.qos.logback.core.encoder.LayoutWrappingEncoder;
|
import ch.qos.logback.core.encoder.LayoutWrappingEncoder;
|
||||||
|
@ -36,8 +35,7 @@ public class LogConfigurator extends ContextAwareBase implements Configurator {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ExecutionStatus configure(final Context context) {
|
public ExecutionStatus configure(LoggerContext lc) {
|
||||||
LoggerContext lc = (LoggerContext) context;
|
|
||||||
final var rootLogger = lc.getLogger(Logger.ROOT_LOGGER_NAME);
|
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 > 1 ? Level.ALL : verboseLevel > 0 ? Level.INFO : Level.WARN;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue