final Iterator<ILogDevice> i = logdevices.iterator();
while (i.hasNext()) {
final ILogDevice dev = i.next();
try {
if (!dev.getAllowConfigurableEvents() || config.logEvent(event)) {
dev.log(admin, caid, module, time, username, certificate, event, comment, ex);
}
} catch (Throwable e) { // NOPMD, we really want to catch every possible error from the log device
LOG.error(INTRES.getLocalizedMessage("log.error.logdropped",admin.getAdminType()+" "+admin.getAdminData()+" "
+caid+" "+" "+module+" "+" "+time+" "+username+" "+(certificate==null?"null":CertTools.getSerialNumberAsString(certificate)+" "
+CertTools.getIssuerDN(certificate))+" "+event+" "+comment+" "+ex));