From 56bf71aec2e222819a68528eb7e566c64f6f8537 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Tue, 18 Jul 2017 09:44:58 +0200 Subject: [PATCH] Issue #1675 --- .../org/eclipse/jetty/server/session/AbstractSessionCache.java | 3 ++- .../main/java/org/eclipse/jetty/server/session/Session.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java b/jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java index afa00c255a6..4f72e7e8f8e 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java @@ -762,7 +762,8 @@ public abstract class AbstractSessionCache extends ContainerLifeCycle implements _sessionDataStore.delete(oldId); //delete the session data with the old id _sessionDataStore.store(newId, session.getSessionData()); //save the session data with the new id } - LOG.info("Session id {} swapped for new id {}", oldId, newId); + if (LOG.isDebugEnabled()) + LOG.debug ("Session id {} swapped for new id {}", oldId, newId); return session; } } diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/session/Session.java b/jetty-server/src/main/java/org/eclipse/jetty/server/session/Session.java index 29a3548b6bc..859736992a6 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/session/Session.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/session/Session.java @@ -905,7 +905,7 @@ public class Session implements SessionHandler.SessionIf } default: { - LOG.info("Session {} already being invalidated", _sessionData.getId()); + if (LOG.isDebugEnabled()) LOG.debug("Session {} already being invalidated", _sessionData.getId()); } } }