mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
Reduce logging
This commit is contained in:
@@ -39,7 +39,7 @@ public class CatalinaUserSessionManagement implements SessionListener {
|
||||
}
|
||||
|
||||
protected void logoutSession(Manager manager, String httpSessionId) {
|
||||
log.info("logoutHttpSession: " + httpSessionId);
|
||||
log.debug("logoutHttpSession: " + httpSessionId);
|
||||
|
||||
Session session;
|
||||
try {
|
||||
|
||||
@@ -40,7 +40,7 @@ public class CatalinaUserSessionManagement implements SessionListener {
|
||||
}
|
||||
|
||||
protected void logoutSession(Manager manager, String httpSessionId) {
|
||||
log.info("logoutHttpSession: " + httpSessionId);
|
||||
log.fine("logoutHttpSession: " + httpSessionId);
|
||||
|
||||
Session session;
|
||||
try {
|
||||
|
||||
@@ -614,7 +614,7 @@ public class OpenIDConnectService {
|
||||
|
||||
String httpSessionId = formData.getFirst(AdapterConstants.HTTP_SESSION_ID);
|
||||
if (httpSessionId != null) {
|
||||
logger.infof("Http Session '%s' saved in ClientSession for client '%s'", httpSessionId, client.getClientId());
|
||||
logger.debugf("Http Session '%s' saved in ClientSession for client '%s'", httpSessionId, client.getClientId());
|
||||
event.detail(AdapterConstants.HTTP_SESSION_ID, httpSessionId);
|
||||
clientSession.setNote(AdapterConstants.HTTP_SESSION_ID, httpSessionId);
|
||||
}
|
||||
|
||||
@@ -227,7 +227,6 @@ public class UsersResource {
|
||||
@NoCache
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
public List<UserSessionRepresentation> getSessions(final @PathParam("username") String username) {
|
||||
logger.info("sessions");
|
||||
auth.requireView();
|
||||
UserModel user = session.users().getUserByUsername(username, realm);
|
||||
if (user == null) {
|
||||
|
||||
Reference in New Issue
Block a user