Changed info log into debug log
Original commit: elastic/x-pack-elasticsearch@b142696ca5
This commit is contained in:
parent
bb4d85a1a7
commit
e6336010be
|
@ -245,7 +245,7 @@ public class AlertActionManager extends AbstractComponent {
|
||||||
.setSource(XContentFactory.jsonBuilder().value(entry))
|
.setSource(XContentFactory.jsonBuilder().value(entry))
|
||||||
.setOpType(IndexRequest.OpType.CREATE)
|
.setOpType(IndexRequest.OpType.CREATE)
|
||||||
.get();
|
.get();
|
||||||
logger.info("Adding alert action for alert [{}]", alert.alertName());
|
logger.debug("Adding alert action for alert [{}]", alert.alertName());
|
||||||
entry.setVersion(response.getVersion());
|
entry.setVersion(response.getVersion());
|
||||||
long currentSize = actionsToBeProcessed.size() + 1;
|
long currentSize = actionsToBeProcessed.size() + 1;
|
||||||
actionsToBeProcessed.add(entry);
|
actionsToBeProcessed.add(entry);
|
||||||
|
@ -311,7 +311,7 @@ public class AlertActionManager extends AbstractComponent {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
updateHistoryEntry(entry, AlertActionState.SEARCH_UNDERWAY);
|
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);
|
TriggerResult trigger = alertManager.executeAlert(entry);
|
||||||
if (trigger.isTriggered()) {
|
if (trigger.isTriggered()) {
|
||||||
if (entry.getState() != AlertActionState.THROTTLED) {
|
if (entry.getState() != AlertActionState.THROTTLED) {
|
||||||
|
|
Loading…
Reference in New Issue