mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 05:42:31 +00:00
Added some extra tracing to SessionRegistryImpl.
This commit is contained in:
parent
cde9cd6b36
commit
558737363f
@ -129,6 +129,10 @@ public class SessionRegistryImpl implements SessionRegistry, ApplicationListener
|
||||
}
|
||||
|
||||
sessionsUsedByPrincipal.add(sessionId);
|
||||
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("Sessions used by '" + principal + "' : " + sessionsUsedByPrincipal);
|
||||
}
|
||||
}
|
||||
|
||||
public void removeSessionInformation(String sessionId) {
|
||||
@ -140,7 +144,7 @@ public class SessionRegistryImpl implements SessionRegistry, ApplicationListener
|
||||
return;
|
||||
}
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.debug("Removing session " + sessionId + " from set of registered sessions");
|
||||
}
|
||||
|
||||
@ -167,5 +171,9 @@ public class SessionRegistryImpl implements SessionRegistry, ApplicationListener
|
||||
principals.remove(info.getPrincipal());
|
||||
}
|
||||
}
|
||||
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("Sessions used by '" + info.getPrincipal() + "' : " + sessionsUsedByPrincipal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user