It would be helpful if libraries had the following action_logs purging behaviour: - Be able to specify the module and action of action_logs entries they would like to purge. Use case: Libraries with a patron import overwriting patron records several times a day will likely want to truncate member 'create' entries from the action_logs tables, whilst retaining other patron action_logs entries. - Be able to specify a different number of days for purging different modules. Use case: The library with the patron import may want to purge member 'create' action logs older than 30 days, but purge all other logs older than 365 days. We think this could be accomplished by adding a separate script for purging action_logs: ./purge_logs.pl --module MEMBERS --action CREATE --days 30 ./purge_logs.pl --module all --action all --days 365
Created attachment 145408 [details] [review] Bug 32480: Specify action of action_logs to purge Sponsored-By: Toi Ohomai Institute of Technology, New Zealand
*** This bug has been marked as a duplicate of bug 32686 ***