TBH, you’re sketch is a bit of a mess, and the way that you’re trying to limit the way that notifications are sent is very ugly.
There are variables within the event setup screen in the web console that affect how frequently notifications are sent, but which do nothing to prevent the logEvent limit being exceeded.