This question may seem to be a possible duplicate of some other questions that are related to this topic. I\'ve found some similar questions(some questions were asked years back
Here is the example of a trigger, than logs such changes: Audit trigger.