From e5e31f21a1a2365614f906fc696c3c2bb8c58279 Mon Sep 17 00:00:00 2001 From: Ludovic Orban Date: Mon, 13 Jun 2022 09:19:23 +0200 Subject: [PATCH] handle review comments Signed-off-by: Ludovic Orban --- .../java/org/eclipse/jetty/server/AsyncContentProducer.java | 4 ++-- .../src/main/java/org/eclipse/jetty/util/StaticException.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/AsyncContentProducer.java b/jetty-server/src/main/java/org/eclipse/jetty/server/AsyncContentProducer.java index 89dcea25e83d..3f562da83071 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/AsyncContentProducer.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/AsyncContentProducer.java @@ -189,10 +189,10 @@ public boolean consumeAll() { assertLocked(); Throwable x = UNCONSUMED_CONTENT_EXCEPTION; - if (LOG.isDebugEnabled()) + if (LOG.isTraceEnabled()) { x = new StaticException("Unconsumed content"); - LOG.debug("consumeAll {}", this, x); + LOG.trace("consumeAll {}", this, x); } failCurrentContent(x); // A specific HttpChannel mechanism must be used as the following code diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/StaticException.java b/jetty-util/src/main/java/org/eclipse/jetty/util/StaticException.java index 699442bc742c..356426f2eb1b 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/StaticException.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/StaticException.java @@ -31,4 +31,4 @@ public StaticException(String message) // Make sure to call the super constructor that disables suppressed exception. super(message, null, false, true); } -} \ No newline at end of file +}