Skip to content

Commit

Permalink
reducing the log level
Browse files Browse the repository at this point in the history
  • Loading branch information
matjaz99 committed Feb 22, 2023
1 parent a237909 commit b143d49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public boolean synchronizeAlerts(List<DEvent> alertList, boolean sync) {

for (DEvent e : alertList) {
if (activeAlerts.containsKey(e.getCorrelationId())) {
logger.info("SYNC[" + providerConfig.getName() + "]: alert exists: {uid=" + e.getUid() + ", cid=" + e.getCorrelationId() + ", alertname=" + e.getAlertname() + ", instance=" + e.getInstance() + "}");
logger.debug("SYNC[" + providerConfig.getName() + "]: alert exists: {uid=" + e.getUid() + ", cid=" + e.getCorrelationId() + ", alertname=" + e.getAlertname() + ", instance=" + e.getInstance() + "}");
activeAlerts.get(e.getCorrelationId()).setToBeDeleted(false);
} else {
logger.info("SYNC[" + providerConfig.getName() + "]: new alert: {uid=" + e.getUid() + ", cid=" + e.getCorrelationId() + ", alertname=" + e.getAlertname() + ", instance=" + e.getInstance() + "}");
Expand Down

0 comments on commit b143d49

Please sign in to comment.