mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-05 18:58:02 -05:00
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:
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…
Reference in New Issue
Block a user