Yair Zaslavsky has submitted this change and it was merged. Change subject: tools: Don't send events on startup ......................................................................
tools: Don't send events on startup Currently the event notifier sends all the pending events during startup. This can flood the recipients and it is not very useful as old events are not valuable. This patch adds a new DAYS_TO_SEND_ON_STARTUP parameter to the notifier. The value of this parameter is the number of days of old audit log messages that will be sent during startup. Messages older than that will be marked as processed and not sent. Change-Id: Id1b8044533d29fa69585a157d3f8409c81a437cd Signed-off-by: Juan Hernandez <juan.hernan...@redhat.com> --- M backend/manager/tools/src/main/conf/engine-notifier.conf M backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/NotificationService.java M backend/manager/tools/src/main/java/org/ovirt/engine/core/notifier/utils/NotificationProperties.java 3 files changed, 89 insertions(+), 26 deletions(-) Approvals: Yair Zaslavsky: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/11483 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id1b8044533d29fa69585a157d3f8409c81a437cd Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com> Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches