Fix: remove JUL loglevel filtering from the agent
[lttng-ust.git] / liblttng-ust-jul / org / lttng / ust / jul / LTTngEvent.java
index 6d81922ea9148f330718085570044a1140889081..4eacb361288a550060808e1d5cf4143fe1dc34c5 100644 (file)
@@ -17,7 +17,6 @@
 
 package org.lttng.ust.jul;
 
-import java.util.ArrayList;
 import java.lang.String;
 
 import org.lttng.ust.jul.LTTngUst;
@@ -36,14 +35,10 @@ class LTTngLogLevel {
 public class LTTngEvent {
        /* Name of the event. */
        public String name;
-       public ArrayList<LTTngLogLevel> logLevels = new ArrayList<LTTngLogLevel>();
-
-       public void addLogLevel(int loglevel, int loglevel_type) {
-               this.logLevels.add(new LTTngLogLevel(loglevel, loglevel_type));
-       }
+       public LTTngLogLevel logLevel;
 
        public LTTngEvent(String name, int loglevel, int loglevel_type) {
                this.name = name;
-               this.addLogLevel(loglevel, loglevel_type);
+               this.logLevel = new LTTngLogLevel(loglevel, loglevel_type);
        }
 }
This page took 0.022807 seconds and 4 git commands to generate.