diff options
Diffstat (limited to 'logserver')
2 files changed, 2 insertions, 0 deletions
diff --git a/logserver/src/main/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolder.java b/logserver/src/main/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolder.java index 132c0074cb7..54d6e005a90 100644 --- a/logserver/src/main/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolder.java +++ b/logserver/src/main/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolder.java @@ -25,6 +25,7 @@ import java.util.logging.Logger; * @author hmusum */ public class LastErrorsHolder extends AbstractLogHandler implements ConnectionFactory { + private static final Logger log = Logger.getLogger(LastErrorsHolder.class.getName()); private static final int maxNumErrors = 100; private final Object lock = new Object(); diff --git a/logserver/src/test/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolderTestCase.java b/logserver/src/test/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolderTestCase.java index 967441ce250..a0e97c28f76 100644 --- a/logserver/src/test/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolderTestCase.java +++ b/logserver/src/test/java/com/yahoo/logserver/handlers/lasterrorsholder/LastErrorsHolderTestCase.java @@ -23,6 +23,7 @@ import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; public class LastErrorsHolderTestCase { + private static final int serverPort = 18324; private static final int lastErrorsHolderPort = 18326; Server server; |