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

Log plugin enabling/disabling changes in config_log

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.8.8
    • Administration
    • MOODLE_28_STABLE

      Someone was having a hard time tracking down why an authentication plugin kept being disabled. There currently does not seem to be any type of logging of this activity. It might be nice to either log such activity as an event; however, since it does affect a change to the mdl_config table - at least in the case of an authentication plugin, I wondered if it would be a good idea to have it show up in the configlog report.

      To accomplish this, at least for the authentication plugins, I think it may be as simple as replacing the set_config in with config_write and then allowing the config_write call set_config. It would be ideal however if we checked to make sure that all plugins that are being enabled - at least the ones that modify the mdl_config table - are being recorded. Perhaps those that do not impact the mdl_config table could be logged. I've not thought this through for each of the plugin types but wanted to create this issue in response to CONTRIB-5906.

            Unassigned Unassigned
            aborrow Anthony Borrow
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.