Solved Delete event log periodically
-
I am looking for a way to clear the event log periodically. This should work in such a way that all entries older than 14 days are deleted daily. It would also be good if the deletion could be set for certain event groups.
-
Currently the eventlog should be purging events older than 10days https://git.cloudron.io/cloudron/box/-/blob/master/src/cron.js#L101
There is no config option to adjust this though and I am also not sure if that is really useful, given the low amount of events and thus storage they will be using.
Maybe in your case something doesn't work in the cleanup?
-
Hello, my server has only been running for a short time. It seems that the log entries are deleted after 14 days. Thanks for the support.