Bug 41145 - Logging patron attributes logs even if there's no changes
Summary: Logging patron attributes logs even if there's no changes
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-30 16:37 UTC by Lisette Scheer
Modified: 2025-10-30 19:16 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lisette Scheer 2025-10-30 16:37:04 UTC
Bug 26744 implemented logging for patron extended attributes.

If a patron is in a batch import and the attributes are the same, it logs a change even if nothing else changed, thus making the patron logs large and unhelpful.

This can be a problem for academic libraries who have automated loading processes to sync patron with their academic systems.

Maybe could use the diff, if diff o=n don't log?
Comment 1 Gretchen Maxeiner 2025-10-30 19:16:18 UTC
We are in this situation. Aside from a huge number of unnecessary log entries for the deleted/readded attributes, the entry is misleading to a staff member trouble-shooting on a patron who doesn't understand the quirk, and it blinds us on actual changes to a patron's attributes. Logging attribute changes is great but we only want to see actual changes.