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

LDAP user sync always logs "User updated" events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
    • Workaround:
      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.
    • Affected Branches:
      MOODLE_33_STABLE

      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

              Assignee:
              Unassigned
              Reporter:
              leonstr Leon Stringer
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: