diff --git a/core/src/main/java/org/elasticsearch/action/support/replication/TransportReplicationAction.java b/core/src/main/java/org/elasticsearch/action/support/replication/TransportReplicationAction.java index 0f0a9ae2c5d..085b3c10018 100644 --- a/core/src/main/java/org/elasticsearch/action/support/replication/TransportReplicationAction.java +++ b/core/src/main/java/org/elasticsearch/action/support/replication/TransportReplicationAction.java @@ -1124,6 +1124,11 @@ public abstract class TransportReplicationAction< public String getTargetAllocationID() { return targetAllocationID; } + + @Override + public String toString() { + return "request: " + request + ", target allocation id: " + targetAllocationID; + } } /**