Fixes Logging usage

log line had an extra parameter
This commit is contained in:
Colin Goodheart-Smithe 2018-01-12 12:17:14 +00:00
parent 6a370251fc
commit 5eb912539d

View File

@ -115,8 +115,8 @@ public class IndexLifecycleService extends AbstractComponent
try {
policy.execute(new InternalIndexLifecycleContext(idxMeta.getIndex(), client, clusterService, nowSupplier));
} catch (ElasticsearchException e) {
logger.error("Failed to execute lifecycle policy [{}] for index [{}]", policyName, idxMeta.getIndex().getName(),
policyName);
logger.error("Failed to execute lifecycle policy [{}] for index [{}]", policyName,
idxMeta.getIndex().getName());
}
}
}