protected void setMaxValues(int totalSize, int fileSize, Duration duration) {
        maxTotalSize = (long) totalSize * 1024L * 1024L;
        maxFileSize = (long) fileSize * 1024L * 1024L;
        retention = duration;
    }
Timer to save queued logs to the XML file.
xmppserver/src/main/java/org/jivesoftware/openfire/audit/spi/AuditorImpl.java