From: David ‘Bombe’ Roden Date: Fri, 10 Jul 2015 13:34:44 +0000 (+0200) Subject: Remove debug logging X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=66f26eed8a5dc0c264d5a3633e79a9c138b8a5c1;p=jFCPlib.git Remove debug logging --- diff --git a/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java b/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java index 360b498..9a3cd26 100644 --- a/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java +++ b/src/test/java/net/pterodactylus/fcp/quelaton/DefaultFcpClientTest.java @@ -16,8 +16,6 @@ import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; -import java.util.logging.Level; -import java.util.logging.Logger; import java.util.stream.Collectors; import net.pterodactylus.fcp.FcpKeyPair; @@ -66,8 +64,6 @@ public class DefaultFcpClientTest { @Test(expected = ExecutionException.class) public void defaultFcpClientThrowsExceptionIfItCanNotConnect() throws IOException, ExecutionException, InterruptedException { - Logger.getAnonymousLogger().getParent().setLevel(Level.FINEST); - Logger.getAnonymousLogger().getParent().getHandlers()[0].setLevel(Level.FINEST); Future keyPairFuture = fcpClient.generateKeypair().execute(); fcpServer.connect().get(); fcpServer.collectUntil(is("EndMessage")); @@ -81,8 +77,6 @@ public class DefaultFcpClientTest { @Test(expected = ExecutionException.class) public void defaultFcpClientThrowsExceptionIfConnectionIsClosed() throws IOException, ExecutionException, InterruptedException { - Logger.getAnonymousLogger().getParent().setLevel(Level.FINEST); - Logger.getAnonymousLogger().getParent().getHandlers()[0].setLevel(Level.FINEST); Future keyPairFuture = fcpClient.generateKeypair().execute(); fcpServer.connect().get(); fcpServer.collectUntil(is("EndMessage"));