[Bug 32480] New: Specify module and action of action_logs entries to purge
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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32480 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Specify module and action |Specify action of |of action_logs entries to |action_logs entries to |purge |purge -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32480 --- Comment #1 from Alex Buckley <alexbuckley@catalyst.net.nz> --- Created attachment 145408 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145408&action=edit Bug 32480: Specify action of action_logs to purge Sponsored-By: Toi Ohomai Institute of Technology, New Zealand -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32480 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |alexbuckley@catalyst.net.nz |ity.org | Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32480 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #145408|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32480 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Alex Buckley <alexbuckley@catalyst.net.nz> --- *** This bug has been marked as a duplicate of bug 32686 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org