File logback-1.2.8-jetty.patch of Package logback.22234

--- logback-1.2.8/logback-access/pom.xml	2021-12-14 12:55:51.000000000 +0100
+++ logback-1.2.8/logback-access/pom.xml	2021-12-16 15:35:11.255651389 +0100
@@ -47,6 +47,12 @@
       <optional>true</optional>
     </dependency>
     <dependency>
+      <groupId>org.eclipse.jetty</groupId>
+      <artifactId>jetty-util</artifactId>
+      <scope>compile</scope>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
       <groupId>org.codehaus.janino</groupId>
       <artifactId>janino</artifactId>
       <scope>compile</scope>
--- logback-1.2.8/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java	2021-12-14 12:55:51.000000000 +0100
+++ logback-1.2.8/logback-access/src/main/java/ch/qos/logback/access/jetty/RequestLogImpl.java	2021-12-16 15:35:11.255651389 +0100
@@ -209,11 +209,6 @@
         started = false;
     }
 
-    @Override
-    public boolean isRunning() {
-        return started;
-    }
-
     public void setFileName(String fileName) {
         this.fileName = fileName;
     }
@@ -227,26 +222,6 @@
         return started;
     }
 
-    @Override
-    public boolean isStarting() {
-        return false;
-    }
-
-    @Override
-    public boolean isStopping() {
-        return false;
-    }
-
-    @Override
-    public boolean isStopped() {
-        return !started;
-    }
-
-    @Override
-    public boolean isFailed() {
-        return false;
-    }
-
     public boolean isQuiet() {
         return quiet;
     }
@@ -310,13 +285,7 @@
         return fai.getFilterChainDecision(event);
     }
 
-    @Override
-    public void addLifeCycleListener(Listener listener) {
-        // we'll implement this when asked
-    }
-
-    @Override
-    public void removeLifeCycleListener(Listener listener) {
+    public void log(Request request, int status, long written) {
         // we'll implement this when asked
     }
 
openSUSE Build Service is sponsored by