mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Add some more debugging on cache shutdown - if Debug level is set, report which caches get shutdown
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -93,6 +93,12 @@ public class EhCacheManagerFactoryBean implements FactoryBean, InitializingBean,
|
||||
public void destroy()
|
||||
{
|
||||
logger.info("Shutting down EHCache CacheManager");
|
||||
if(logger.isDebugEnabled()) {
|
||||
String[] caches = this.cacheManager.getCacheNames();
|
||||
for(String cache : caches) {
|
||||
logger.debug("Shutting down EHCache instance " + cache);
|
||||
}
|
||||
}
|
||||
this.cacheManager.shutdown();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user