Erroneous string formatting while changing cluster tag - Fixes
@@ -228,9 +228,9 @@ public class ClusterProcessor extends GridProcessorAdapter implements Distribute
if (log.isInfoEnabled())
log.info(
"Cluster tag will be set to new value: " +
- newVal != null ? newVal.tag() : "null" +
+ (newVal != null ? newVal.tag() : "null") +
", previous value was: " +
- oldVal != null ? oldVal.tag() : "null");
+ (oldVal != null ? oldVal.tag() : "null"));
if (oldVal != null && newVal != null) {
if (ctx.event().isRecordable(EVT_CLUSTER_TAG_UPDATED)) {
