}
}
} catch (InterruptedException | ExecutionException ex) {
- LOG.warn("Exception thrown while reading Logical Connection Point value from {} {}", ex);
+ LOG.warn("Exception thrown while reading Logical Connection Point value: ", ex);
}
StringBuilder sb = new StringBuilder(notification.getResource().getDevice().getNodeId()).append(PIPE);
sb.append(buildCause(notification.getProbableCause()));
String message = sb.toString();
Nodes build = new NodesBuilder().setNodeId(notification.getResource().getDevice().getNodeId()).build();
if (allNodeList.contains(build)) {
- LOG.info(message);
+ LOG.info("onAlarmNotification: {}", message);
} else {
- LOG.warn(message);
+ LOG.warn("onAlarmNotification: {}", message);
}
}