Audit - working without filters

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3646 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2006-08-31 16:56:50 +00:00
parent 75ead51be8
commit e75b18d742
86 changed files with 6158 additions and 574 deletions

View File

@@ -183,6 +183,7 @@ public abstract class Tool
*/
public final void start(String[] args)
{
long startTime = System.nanoTime();
int status = -1;
try
@@ -202,7 +203,11 @@ public abstract class Tool
logInfo(getToolName());
initialiseRepository();
login();
long loginTime = System.nanoTime();
logInfo("Time to login "+((loginTime - startTime)/1000000000f)+" seconds");
status = execute();
long executeTime = System.nanoTime();
logInfo("Time to execute "+((executeTime - loginTime)/1000000000f)+" seconds");
logInfo(getToolName() + " successfully completed.");
}
}