diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java index 7311362a2ce1..cd95f796e135 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/gzip/GzipHandler.java @@ -891,6 +891,7 @@ public int getDeflaterPoolCapacity() @Deprecated public void setDeflaterPoolCapacity(int capacity) { + LOG.warn("DeflaterPool capacity not changed. DeflaterPool should be configured externally and set as a bean on the Server."); if (isStarted()) throw new IllegalStateException(getState()); } @@ -914,6 +915,7 @@ public int getInflaterPoolCapacity() @Deprecated public void setInflaterPoolCapacity(int capacity) { + LOG.warn("InflaterPool capacity not changed. InflaterPool should be configured externally and set as a bean on the Server."); if (isStarted()) throw new IllegalStateException(getState()); }