Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-59126

LDAP user sync always logs "User updated" events

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.3
    • None
    • Authentication
    • MOODLE_33_STABLE
      1. Configure the sync scheduled task to occur less frequently.
      2. 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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              leonstr Leon Stringer
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: