code: @Override
      public synchronized void cleanup() {
          String pattern = MessageFormat.format(LOGGER_SYSTEM_FORMAT_PATTERN, this.loggerSystemName);
          LogFilenameMatcher matcher = new LogFilenameMatcher(pattern);
  
          LogFileTraverser.ICollectorCallback cb = new LogFileTraverser.ICollectorCallback() {
              @Override
              public void match(File file,
                                LogFilenameMatcher.LogFilenameParts parts) {
                  boolean success = file.delete();
                  if (LOGGER.isDebugEnabled()) {
                      LOGGER.debug("Deleting " + file + " success=" + success);
                  }
              }
          };
          new LogFileTraverser(matcher,
                  FileChannelDataLoggerFactory.this.getLoggingDirectory(), cb);
      }
docs: destroys a logfiles