Fix failed engine exception logging

This commit is contained in:
Igor Motov 2014-08-16 22:09:13 -04:00
parent 40c63ad07a
commit 0156bcbf32
1 changed files with 1 additions and 1 deletions

View File

@ -1307,7 +1307,7 @@ public class InternalEngine extends AbstractIndexShardComponent implements Engin
return;
}
try {
logger.warn("failed engine [{}]", reason, failure);
logger.warn("failed engine [{}]", failure, reason);
// we must set a failure exception, generate one if not supplied
failedEngine = failure;
for (FailedEngineListener listener : failedEngineListeners) {