more specific logging

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243194 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-02-12 02:44:30 +00:00
parent 1825356d26
commit 4cffbd71b5
1 changed files with 3 additions and 2 deletions

View File

@ -578,8 +578,9 @@ public class Overseer implements NodeStateChangeListener, ShardLeaderListener {
@Override
public void announceLeader(String collection, String shardId, ZkCoreNodeProps props) {
log.info("Leader change pooled.");
fifo.add(new CloudStateUpdateRequest(Op.LeaderChange, collection, shardId, props.getCoreUrl()));
String coreUrl = props.getCoreUrl();
log.info("Leader change pooled: " + coreUrl);
fifo.add(new CloudStateUpdateRequest(Op.LeaderChange, collection, shardId, coreUrl));
}
}