Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java')
-rw-r--r--jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java
index 0a5c08c6bd..c7119dafd3 100644
--- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java
+++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/bindings/StandardUndeployer.java
@@ -51,13 +51,14 @@ public class StandardUndeployer implements AppLifeCycle.Binding
for (int i = 0, n = children.length; i < n; i++)
{
Handler child = children[i];
- LOG.debug("Child handler: " + child);
+ LOG.debug("Child handler {}",child);
if (child.equals(context))
{
- LOG.debug("Removing handler: " + child);
+ LOG.debug("Removing handler {}",child);
coll.removeHandler(child);
child.destroy();
- LOG.debug(String.format("After removal: %d (originally %d)",coll.getHandlers().length,originalCount));
+ if (LOG.isDebugEnabled())
+ LOG.debug("After removal: {} (originally {})",coll.getHandlers().length,originalCount);
}
else if (child instanceof HandlerCollection)
{

Back to the top