Q:

Javers - How to add extra commit metadata?

Currently Javers records the username and the timestamp of the audit in the commit metadata but I would like to store the user id as well. Is it possible to add more fields to Javers commit metadata like user id or ip address?

A:

Yes, commit properties. It's the Map of String properties that you can add to each commit and then use in queries. See example - https://javers.org/documentation/jql-examples/#commit-property-filter

