Welcome Guest, Not a member yet? Register   Sign In
How to log actions?
#1

Hi,

I want to log data-modifications.
For that I could create a new realtionship table where I add a new entry with every SQL-Insert or Update action.

Every log should contain several infos like the user-id, the data-object that was modified, maybe the before and after-value and the action itself (create, update, delete).

Should I write a custom action for that within every controller-function that adds, updates or deletes data?
Or should I look for a hook to manage it?

Thanks in advance!

jellix
Reply


Messages In This Thread
How to log actions? - by jellix - 09-01-2019, 03:26 AM
RE: How to log actions? - by php_rocs - 09-01-2019, 07:25 AM
RE: How to log actions? - by ignitedcms - 09-01-2019, 07:31 AM
RE: How to log actions? - by jellix - 09-01-2019, 11:15 AM
RE: How to log actions? - by milengardev1994 - 09-01-2019, 12:12 PM
RE: How to log actions? - by includebeer - 09-03-2019, 05:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB