Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.3
-
None
-
MOODLE_33_STABLE
-
- Configure the sync scheduled task to occur less frequently.
- Reduce the Keep logs for setting to reduce the size of mdl_logstore_standard_log.
Description
If you have configured LDAP authentication (auth_ldap) and enabled the "LDAP users sync job" scheduled task (\auth_ldap\task\sync_task) it will populate the Moodle user accounts as configured causing "User created" events to be logged in the site log (standard log).
However, on subsequent runs of this scheduled task, for each user a "User updated" event appears in the site log even though nothing has changed. This makes the site logs unwieldy and, for anything other than tiny user populations, makes them very difficult to use for any sort of troubleshooting or auditing (you can't even see when LDAP users have changed).
The issue is described here: https://moodle.org/mod/forum/discuss.php?d=353068