}
@Override
public void deleteBefore(DateTime deleteBefore) throws IOException {
log.debug("Deleting log files older than " + deleteBefore + " from " + baseLogFolder);
File[] filesToDelete = baseLogFolder.listFiles((FileFilter) new AndFileFilter(logFileFilter, new AgeFileFilter(
deleteBefore.toDate())));
for (File fileToDelete : filesToDelete) {
if (log.isDebugEnabled()) {
log.debug("Deleting " + fileToDelete);
}