diff --git a/src/main/java/org/graylog/plugins/aggregates/maintenance/AggregatesMaintenance.java b/src/main/java/org/graylog/plugins/aggregates/maintenance/AggregatesMaintenance.java index 3c92e11..66dd53c 100644 --- a/src/main/java/org/graylog/plugins/aggregates/maintenance/AggregatesMaintenance.java +++ b/src/main/java/org/graylog/plugins/aggregates/maintenance/AggregatesMaintenance.java @@ -132,7 +132,6 @@ private void resolveOrphanedAlerts() { LOG.debug("AlertCondition: [{}]", alertCondition.getTitle()); - LOG.info("Resolving duplicate alerts"); resolveDuplicateAlerts(triggeredStream, alertCondition); LOG.debug("Checking alert condition [{}] with type [{}]", alertCondition.getId(), alertCondition.getType()); @@ -208,6 +207,7 @@ private void resolveOrphanedAlerts() { * @param alertCondition the alert condition */ private void resolveDuplicateAlerts(Stream stream, AlertCondition alertCondition){ + LOG.debug("Resolving duplicate alerts"); Optional lastTriggeredAlert = alertService.getLastTriggeredAlert(stream.getId(), alertCondition.getId()); List unresolvedAlerts = alertService.listForStreamIds(ImmutableList.of(stream.getId()), Alert.AlertState.UNRESOLVED, 0, 1); @@ -228,7 +228,7 @@ private void resolveDuplicateAlerts(Stream stream, AlertCondition alertCondition alertService.resolveAlert(unresolvedAlerts.get(0)); } } else { - LOG.info("No unresolved duplicate alert found."); + LOG.debug("No unresolved duplicate alert found."); } }