diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/node/NodeClusterCoordinator.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/node/NodeClusterCoordinator.java index 158468a0c5..88853e3802 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/node/NodeClusterCoordinator.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/node/NodeClusterCoordinator.java @@ -278,12 +278,12 @@ public class NodeClusterCoordinator implements ClusterCoordinator, ProtocolHandl @Override public void reportEvent(final NodeIdentifier nodeId, final Severity severity, final String event) { - eventReporter.reportEvent(severity, nodeId == null ? EVENT_CATEGORY : nodeId.toString(), event); + eventReporter.reportEvent(severity, EVENT_CATEGORY, "Event Reported for " + nodeId.toString() + " -- " + event); if (nodeId != null) { addNodeEvent(nodeId, severity, event); } - final String message = nodeId == null ? event : "Event Reported for " + nodeId + ": " + event; + final String message = nodeId == null ? event : "Event Reported for " + nodeId + " -- " + event; switch (severity) { case ERROR: logger.error(message);