parser.setFile(fileAsMultipartFile);
}
log.info("About to parse " + waf.getWafType().getName() + " log file.");
List<SecurityEvent> events = parser.parseInput();
if (events.size() != 0) {
log.info("Found " + events.size() + " security events in the " + waf.getWafType().getName() + " log.");
} else {
log.warn("Found no security events in the " + waf.getWafType().getName() + " log.");