rka05
(Raghav Agarwal 05)
1
Hi All,
I want to log all activity of a users in a log file not in the database.
I have gone through multiple websites. Most of them, suggesting to store logs in the database.
Could you please help me the correct way, how can I achieve user logging in core PHP application.
Any help would be appreciated.
Thanks
samdark
(Alexander Makarov)
2
If it’s Yii you can use built-in logging facility which is well covered in official documentation.
jacmoe
(Jacob Moena)
3
You probably want to use an audit library ?
Try one of these: https://packagist.org/search/?q=audit