public void run() {
        try {
            spooler.switchFileIfNeeded();
            spooler.processFiles(this::transport);
        } catch (Exception e) {
            log.log(Level.WARNING, "Exception when processing files: " + e.getMessage());
        }
    }
Start processing files, must be called by subclasses
container-search/src/main/java/com/yahoo/search/logging/AbstractSpoolingLogger.java