Changed info log into debug log

Original commit: elastic/x-pack-elasticsearch@b142696ca5
This commit is contained in:
Martijn van Groningen 2014-11-21 14:30:51 +01:00
parent bb4d85a1a7
commit e6336010be
1 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ public class AlertActionManager extends AbstractComponent {
.setSource(XContentFactory.jsonBuilder().value(entry))
.setOpType(IndexRequest.OpType.CREATE)
.get();
logger.info("Adding alert action for alert [{}]", alert.alertName());
logger.debug("Adding alert action for alert [{}]", alert.alertName());
entry.setVersion(response.getVersion());
long currentSize = actionsToBeProcessed.size() + 1;
actionsToBeProcessed.add(entry);
@ -311,7 +311,7 @@ public class AlertActionManager extends AbstractComponent {
return;
}
updateHistoryEntry(entry, AlertActionState.SEARCH_UNDERWAY);
logger.info("Running an alert action entry for [{}]", entry.getAlertName());
logger.debug("Running an alert action entry for [{}]", entry.getAlertName());
TriggerResult trigger = alertManager.executeAlert(entry);
if (trigger.isTriggered()) {
if (entry.getState() != AlertActionState.THROTTLED) {