Is course reset action logged?

Is course reset action logged?

by Cathal O'Riordan -
Number of replies: 2
Picture of Core developers

Hi, I was wondering if Moodle happens to log the action of reseting a course anywhere? How would one tell if and when a course had been reset, and by whom?

cheers,
Cathal.

Average of ratings: -
In reply to Cathal O'Riordan

Re: Is course reset action logged?

by Eder dos Santos -

Cathal,

It seems moodle cleans all log entries and doesn't create a reset one. In my case, I added an add_to_log (call) into the source code, which includes a customized action (course_reset).

Cheers,
Eder

In reply to Eder dos Santos

Re: Is course reset action logged?

by Cathal O'Riordan -
Picture of Core developers

Thanks Eder. I think that this should be in the Moodle core. Maybe a patch is in order.

The course reset action is destructive and it's something that you would probably like to be able to attribute to a user.

Cathal.