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:
Britt Park
2006-07-15 17:55:18 +00:00
parent 6ac87efa5a
commit 1510998f69
6 changed files with 21 additions and 9 deletions

View File

@@ -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);
}
}
}