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.