Log shard ID in TransportReplicationAction

This commit amends a logging statement in TransportReplicationAction to
log the full shard ID instead of just the numerical shard ID (without
the index name).
This commit is contained in:
Jason Tedor 2016-01-30 09:27:38 -05:00
parent 6e91d65a99
commit 2a78e02fe9
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ public abstract class TransportReplicationAction<Request extends ReplicationRequ
onReplicaFailure(nodeId, exp);
} else {
String message = String.format(Locale.ROOT, "failed to perform %s on replica on node %s", transportReplicaAction, node);
logger.warn("{} {}", exp, shardId, message);
logger.warn("[{}] {}", exp, shardId, message);
shardStateAction.shardFailed(
shard,
indexUUID,