From: David ‘Bombe’ Roden Date: Fri, 10 Jul 2015 04:58:08 +0000 (+0200) Subject: Fix logging X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=473105e54260f184b428876d187638f24a5f7f4d;p=jFCPlib.git Fix logging --- diff --git a/src/main/java/net/pterodactylus/fcp/FcpConnectionHandler.java b/src/main/java/net/pterodactylus/fcp/FcpConnectionHandler.java index 36be123..ad3e3f3 100644 --- a/src/main/java/net/pterodactylus/fcp/FcpConnectionHandler.java +++ b/src/main/java/net/pterodactylus/fcp/FcpConnectionHandler.java @@ -76,7 +76,7 @@ class FcpConnectionHandler implements Runnable { } try { String line = readLine(); - logger.log(Level.FINEST, "read line: %1$s", line); + logger.log(Level.FINEST, String.format("read line: %1$s", line)); if (line == null) { break; }