Improve session factory log statements

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2230 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2014-02-03 21:46:40 +00:00
parent ef80812111
commit a856d883f3
1 changed files with 2 additions and 2 deletions

View File

@ -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) {