It looks like maybe [MM-51700] - Mattermost is designed to help with this - but did not make it into 7.10. Is that right?
With this change, all the warnings are dropped unless it has been 1 minute since the last one (for any user). While this may make the log files a bit smaller, I am not all that keen on it because
- there will still be this warning in the log once a minute, which is quite a lot, and
- most of the information is discarded; I just get a random sampling once a minute
Since these warnings would still be busy and now even less actionable, I would prefer that you drop this logging to Debug.
If we do actually want log warnings, maybe they should gather counters on how many times we had to do drops and how many users were affected, and print that once an hour? If this is something that we think admins of actual instances can investigate, then can we expose more useful info via Prometheus metrics possibly?