From a137a837c056d86049942157418c36ee18b6a96d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 24 Nov 2015 20:28:36 +0100 Subject: [PATCH] Fix logging --- src/main/java/net/pterodactylus/fcp/FcpConnectionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.7.4