Fix logging
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / FcpConnectionHandler.java
index 36be123..ad3e3f3 100644 (file)
@@ -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;
                                }