diff --git a/greenmail-core/src/main/java/com/icegreen/greenmail/smtp/SmtpConnection.java b/greenmail-core/src/main/java/com/icegreen/greenmail/smtp/SmtpConnection.java
index <HASH>..<HASH> 100644
--- a/greenmail-core/src/main/java/com/icegreen/greenmail/smtp/SmtpConnection.java
+++ b/greenmail-core/src/main/java/com/icegreen/greenmail/smtp/SmtpConnection.java
@@ -53,7 +53,7 @@ public class SmtpConnection {
                 int b = in.read();
                 if (b < 0) { // End
                     if(log.isDebugEnabled()) {
-                        log.debug("Unexpected end of stream, read {0} bytes: {1}",bos.size(), bos.toString());
+                        log.debug("Unexpected end of stream, read {} bytes: {}", bos.size(), bos.toString());
                     }
                     if(bos.size()>0) {
                         // Best effort?
UTF-8 Encoding still not working (issue #<I>) : Fixed debug logging