]> WPIA git - gigi.git/blobdiff - lib/jetty/org/eclipse/jetty/server/handler/AbstractHandler.java
updating jetty to jetty-9.2.16.v2016040
[gigi.git] / lib / jetty / org / eclipse / jetty / server / handler / AbstractHandler.java
index 3d92512ca2b2ec249cfa53e4593cb9284059392c..107f5c98df0242a5a5e00e842f0328a6c619e139 100644 (file)
@@ -1,6 +1,6 @@
 //
 //  ========================================================================
-//  Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd.
+//  Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd.
 //  ------------------------------------------------------------------------
 //  All rights reserved. This program and the accompanying materials
 //  are made available under the terms of the Eclipse Public License v1.0
@@ -54,7 +54,8 @@ public abstract class AbstractHandler extends ContainerLifeCycle implements Hand
     @Override
     protected void doStart() throws Exception
     {
-        LOG.debug("starting {}",this);
+        if (LOG.isDebugEnabled())
+            LOG.debug("starting {}",this);
         if (_server==null)
             LOG.warn("No Server set for {}",this);
         super.doStart();
@@ -67,7 +68,8 @@ public abstract class AbstractHandler extends ContainerLifeCycle implements Hand
     @Override
     protected void doStop() throws Exception
     {
-        LOG.debug("stopping {}",this);
+        if (LOG.isDebugEnabled())
+            LOG.debug("stopping {}",this);
         super.doStop();
     }