]> WPIA git - gigi.git/blobdiff - lib/jetty/org/eclipse/jetty/server/session/AbstractSessionIdManager.java
updating jetty to jetty-9.2.16.v2016040
[gigi.git] / lib / jetty / org / eclipse / jetty / server / session / AbstractSessionIdManager.java
index 9414408338bc2355fa765e1a554993f01c1f9db9..9d482701ef00458719e976ea888ab6708afebdf7 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
@@ -167,7 +167,8 @@ public abstract class AbstractSessionIdManager extends AbstractLifeCycle impleme
             // random chance to reseed
             if (_reseed>0 && (r0%_reseed)== 1L)
             {
-                LOG.debug("Reseeding {}",this);
+                if (LOG.isDebugEnabled())
+                    LOG.debug("Reseeding {}",this);
                 if (_random instanceof SecureRandom)
                 {
                     SecureRandom secure = (SecureRandom)_random;