I have a very large application written in Spring MVC. I want to keep an “activity record” that tracks in the database what users are doing in my application.
At the first stage, I just want an activity log, it may just be a list of controller methods called during user actions, but later I would like this information to be more “readable”, i.e. instead of "modifyAccount (accountId = 5, accountBalance = 500) something like" user X updates the balance for account 5 to 500. "
The problem that I see is that since my application is very large, I would not want to modify each of my actions to add this logging mechanism. Is there a more flexible, declarative way to do this?
source share