Pro Audit Logs - database clean-up/truncate

Are there plans to add a script or admin option to perform a clean-up on the audit log tables? Like remove entries older than x days.

We got some heavy users uploading data and syncing to multiple clients at the same time. Like every 7-10 seconds on log entry on ‘File Access’ and at the same time one for ‘File Update’.

If there ain’t plans to add such we will do it manually.

https://manual.seafile.com/maintain/clean_database.html

1 Like

thank you but I more like thought of asking if there are plans to add support for this on the webinterface or a ‘supported’ script.

You can adjust the queries as you like, put them in a file and run mysql -uuser -ppass < db.sql as cronjob.