diff --git a/idporten-access-log-spring-boot-3-starter/pom.xml b/idporten-access-log-spring-boot-3-starter/pom.xml index c3bc021..bcd1013 100644 --- a/idporten-access-log-spring-boot-3-starter/pom.xml +++ b/idporten-access-log-spring-boot-3-starter/pom.xml @@ -13,10 +13,10 @@ 10.1.19 - 3.2.4 + 3.3.3 3.1.12 8.0 - 1.5.6 + 1.5.7 2.0.3 diff --git a/idporten-access-log-spring-boot-3-starter/src/main/java/no/idporten/logging/access/tomcat/LogbackValve.java b/idporten-access-log-spring-boot-3-starter/src/main/java/no/idporten/logging/access/tomcat/LogbackValve.java index ced487a..71802d8 100644 --- a/idporten-access-log-spring-boot-3-starter/src/main/java/no/idporten/logging/access/tomcat/LogbackValve.java +++ b/idporten-access-log-spring-boot-3-starter/src/main/java/no/idporten/logging/access/tomcat/LogbackValve.java @@ -47,6 +47,7 @@ import java.util.concurrent.ExecutorService; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.locks.ReentrantLock; //import org.apache.catalina.Lifecycle; @@ -75,7 +76,7 @@ public class LogbackValve extends ValveBase private long birthTime = System.currentTimeMillis(); - LogbackLock configurationLock = new LogbackLock(); + ReentrantLock configurationLock = new ReentrantLock(); final private List configurationEventListenerList = new ArrayList<>(); @@ -434,7 +435,7 @@ public long getBirthTime() { } @Override - public Object getConfigurationLock() { + public ReentrantLock getConfigurationLock() { return configurationLock; }