mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added a leetle bit of logging in a few places.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3328 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,6 +19,9 @@ package org.alfresco.repo.avm;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
/**
|
||||
* This is the background thread for reaping no longer referenced nodes
|
||||
* in the AVM repository. These orphans arise from purge operations.
|
||||
@@ -26,6 +29,7 @@ import java.util.List;
|
||||
*/
|
||||
public class OrphanReaper implements Runnable
|
||||
{
|
||||
private Log fgLogger = LogFactory.getLog(OrphanReaper.class);
|
||||
/**
|
||||
* The HibernateTxn instance.
|
||||
*/
|
||||
@@ -274,8 +278,7 @@ public class OrphanReaper implements Runnable
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
e.printStackTrace(System.err);
|
||||
// TODO Log this properly.
|
||||
fgLogger.error("Garbage collector error", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user