Be less verbose logging ClusterInfoUpdateJob failures

Closes #5222
This commit is contained in:
Lee Hinman 2014-02-21 11:47:08 -07:00
parent 680a4ebbea
commit 9ef5136e3d
1 changed files with 8 additions and 2 deletions

View File

@ -283,7 +283,10 @@ public final class InternalClusterInfoService extends AbstractComponent implemen
@Override
public void onFailure(Throwable e) {
logger.error("Failed to execute NodeStatsAction for ClusterInfoUpdateJob", e);
logger.warn("Failed to execute NodeStatsAction for ClusterInfoUpdateJob: " + e.getMessage());
if (logger.isTraceEnabled()) {
logger.trace("NodeStatsAction failure", e);
}
}
});
@ -308,7 +311,10 @@ public final class InternalClusterInfoService extends AbstractComponent implemen
@Override
public void onFailure(Throwable e) {
logger.error("Failed to execute IndicesStatsAction for ClusterInfoUpdateJob", e);
logger.warn("Failed to execute IndicesStatsAction for ClusterInfoUpdateJob: " + e.getMessage());
if (logger.isTraceEnabled()) {
logger.trace("IndicesStatsAction failure", e);
}
}
});