https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32480 Bug ID: 32480 Summary: Specify module and action of action_logs entries to purge Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: alexbuckley@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz 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 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.