// process each of the remaining log files
while (copy.size() > 0) {
TransactionLog log = (TransactionLog) copy.first();
copy.remove(log);
if (log.canGarbageCollect()) {
// destroy the log
log.destroy();
// remove it from the log cache
synchronized (_logs) {