Improve session factory log statements

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2230 3d1905a2-6b24-0410-a738-b14d5a86fcbd
master
mguessan 9 years ago
parent ef80812111
commit a856d883f3

@ -129,7 +129,7 @@ public final class ExchangeSessionFactory {
}
if (session != null && session.isExpired()) {
ExchangeSession.LOGGER.debug("Session " + session + " expired");
ExchangeSession.LOGGER.debug("Session " + session +" for user " + session.userName+ " expired");
session = null;
// expired session, remove from cache
synchronized (LOCK) {
@ -153,7 +153,7 @@ public final class ExchangeSessionFactory {
}
}
}
ExchangeSession.LOGGER.debug("Created new session: " + session);
ExchangeSession.LOGGER.debug("Created new session " + session+" for user "+poolKey.userName);
}
// successful login, put session in cache
synchronized (LOCK) {

Loading…
Cancel
Save