Hey guys, I’ve been thinking about the same thing. Well, not exactly the afterCreate lifecycle but about implementing a detailed activity log. I need it to constantly monitor several user’s actions and do some stuff accordingly.
So, I tried to find any information in what direction should I dig - middleware, hooks, or anything else. Admittedly, I thought middleware will be most likely the thing but here I see Sunnyson says that middleware has only limited info about the actions and it would be better to use webhooks.
I find it a bit unhandy to have another small app to collect only “log entries”. The question is if there is a better solution or Hooks + Another app is the best way to receive the information mentioned below:
- What item was modified and in what collection
- What was done to the item - disabled, modified fields (possibly, ideally)
- Date when it was done.