From a97665da3e6ea498ebcdbb7fa21335e3f366da21 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Fri, 9 Sep 2016 10:09:22 +1000 Subject: [PATCH] Issue #913 --- .../main/java/org/eclipse/jetty/webapp/WebAppClassLoader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppClassLoader.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppClassLoader.java index 4256d2a954f..4a9a71bfc52 100644 --- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppClassLoader.java +++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppClassLoader.java @@ -489,7 +489,8 @@ public class WebAppClassLoader extends URLClassLoader if (c == null && ex!=null) { - LOG.debug("!loadedClass({}) from={} tried_parent={}",name,this,tried_parent); + if (LOG.isDebugEnabled()) + LOG.debug("!loadedClass({}) from={} tried_parent={}",name,this,tried_parent); throw ex; }