Server Logs

Server Logs

Adam Latrache發表於
Number of replies: 3

Hi all 

We are in need of a list of IP addresses for a user. Does Moodle store a list of ip addresses that the site had been accessed from? 

Thank you, 



評比平均分數: -
In reply to Adam Latrache

Re: Server Logs

Dave Perry發表於
look in your mdl_log table. Use the mdl_user table to find the numerical user ID for that user. I think (we haven't had moodle for a few years, and the server is in isolation as it breaks cyber essentials compliance)
In reply to Adam Latrache

Re: Server Logs

Randy Thornton發表於

Yes, it does. They are in the logs in the Moodle database and you can view them in the Admin interface in Moodle, as the documentation shows. If you have direct access to the database to make reports, you will find several reports to help you out with querying the logs in the Ad-hoc contributed reports page.

Whether such tracking is also done at the web server level will depend on how you set up your system, but that will be outside of Moodle.
In reply to Adam Latrache

Re: Server Logs

Emma Richardson發表於
Documentation writers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片

The moodle logs show all user actions and include their ip address...just filter by the user for a list of ip addresses