I need to locate where the logging data is stored in Moodle. In the Moodle database there is a table called 'log' where log data is stored. However, I can get Moodle reports showing logging data that is definitely NOT stored in this table. I am using Moodle version 2.7.8.
Look for the entry Configuration File (php. Find the Error handling and logging section of the php. ini file. Make sure that both display_errors = On, display_startup_errors = On and log_errors = On are present and uncommented. Check the value of error_log - this tells you the location of the file errors are logged to.
The length of time that the history of changes in grade-related tables is kept may be set (from 30 days to never). Note for users who have upgraded from earlier versions: The setting 'Keep logs for' is now located in the log store settings.
In the Moodle version I am using (2.7.8) you have three possibilities to log your data (called 'log stores'):
Current information on logging can be found at: https://docs.moodle.org/dev/Logging_2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With