Hello, nowadays having activity logs of the system is needed for history and if someone who is trying to mess your site, it is easily to define who is it and when it happen. And even Facebook have it.
So may I know a little knowledge(code/database structure) of it, thanks