less verbose errors

This commit is contained in:
Greg Wilkins 2014-12-24 12:42:07 +01:00
parent 3e8969be6f
commit 26de8931a3
1 changed files with 4 additions and 2 deletions

View File

@ -599,11 +599,13 @@ public class HashSessionManager extends AbstractSessionManager
if (isDeleteUnrestorableSessions() && file.exists() && file.getParentFile().equals(_storeDir) )
{
file.delete();
LOG.warn("Deleting file for unrestorable session "+idInCuster, error);
LOG.warn("Deleting file for unrestorable session {} {}",idInCuster,error);
__log.debug(error);
}
else
{
__log.warn("Problem restoring session "+idInCuster, error);
__log.warn("Problem restoring session {} {}",idInCuster, error);
__log.debug(error);
}
}
else