Reduce logging

This commit is contained in:
mposolda 2014-10-08 23:28:02 +02:00
parent 1e33931f23
commit ac8b43358d
4 changed files with 3 additions and 4 deletions

View file

@ -39,7 +39,7 @@ public class CatalinaUserSessionManagement implements SessionListener {
} }
protected void logoutSession(Manager manager, String httpSessionId) { protected void logoutSession(Manager manager, String httpSessionId) {
log.info("logoutHttpSession: " + httpSessionId); log.debug("logoutHttpSession: " + httpSessionId);
Session session; Session session;
try { try {

View file

@ -40,7 +40,7 @@ public class CatalinaUserSessionManagement implements SessionListener {
} }
protected void logoutSession(Manager manager, String httpSessionId) { protected void logoutSession(Manager manager, String httpSessionId) {
log.info("logoutHttpSession: " + httpSessionId); log.fine("logoutHttpSession: " + httpSessionId);
Session session; Session session;
try { try {

View file

@ -614,7 +614,7 @@ public class OpenIDConnectService {
String httpSessionId = formData.getFirst(AdapterConstants.HTTP_SESSION_ID); String httpSessionId = formData.getFirst(AdapterConstants.HTTP_SESSION_ID);
if (httpSessionId != null) { 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); event.detail(AdapterConstants.HTTP_SESSION_ID, httpSessionId);
clientSession.setNote(AdapterConstants.HTTP_SESSION_ID, httpSessionId); clientSession.setNote(AdapterConstants.HTTP_SESSION_ID, httpSessionId);
} }

View file

@ -227,7 +227,6 @@ public class UsersResource {
@NoCache @NoCache
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
public List<UserSessionRepresentation> getSessions(final @PathParam("username") String username) { public List<UserSessionRepresentation> getSessions(final @PathParam("username") String username) {
logger.info("sessions");
auth.requireView(); auth.requireView();
UserModel user = session.users().getUserByUsername(username, realm); UserModel user = session.users().getUserByUsername(username, realm);
if (user == null) { if (user == null) {