From 13b0b90aa9b421bc2b54e3826ce014536a24b2d1 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Tue, 10 Jun 2014 22:19:55 +0200 Subject: [PATCH] Fixed logging. --- .../eclipse/jetty/http2/server/HttpTransportOverHTTP2.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpTransportOverHTTP2.java b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpTransportOverHTTP2.java index 50e52278912..cf9c94cfe9b 100644 --- a/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpTransportOverHTTP2.java +++ b/jetty-http2/http2-server/src/main/java/org/eclipse/jetty/http2/server/HttpTransportOverHTTP2.java @@ -110,8 +110,8 @@ public class HttpTransportOverHTTP2 implements HttpTransport { if (LOG.isDebugEnabled()) { - LOG.debug("HTTP2 Response #{}: {} {}content bytes", - stream.getId(), lastContent ? "last " : "", content.remaining()); + LOG.debug("HTTP2 Response #{}: {} content bytes{}", + stream.getId(), content.remaining(), lastContent ? " (last chunk)" : ""); } DataFrame frame = new DataFrame(stream.getId(), content, lastContent);