Logging administrator actions

Logging administrator actions

Slobodan Jovcic發表於
Number of replies: 6
I developed a patch for the admin section that logs all changes made by the administrator. This is very helpful in tracking down configuration problems, especially in the environment with several independent admins. All entries are in the format "setting_name: 'old value' => 'new value'", and can be seen in log reports at /admin/report/log/index.php.

Patch is available at http://tracker.moodle.org/browse/MDL-11236, with hope that it will get merged into Moodle CVS.

If you ever wondered (like I did) who the &*^%@# changed the name format, enabled guest access or disabled a particular module without notice, this will save you from some frustration.

Jovca
評比平均分數: -
In reply to Slobodan Jovcic

Re: Logging administrator actions

Michael Penney發表於
Great idea, I put in my vote微笑. PS, not only to see what &*^%@# did, but better to save me writing down what the &*^%@# I did微笑.
In reply to Slobodan Jovcic

Re: Logging administrator actions

tony chesney發表於
very useful. Worth pointing out also in defence of your users that it's difficult to tell in the Settings page whether you're changing a setting such as theme for the user you're logged in as or for everyone.
In reply to tony chesney

Re: Logging administrator actions

Slobodan Jovcic發表於
Just to point out that the patch only deals with changes in the site admin section, not settings for a specific course. But that's a good idea and would be nice to have. I'll look into it if I have a chance.

Jovca
In reply to Slobodan Jovcic

Re: Logging administrator actions

Linda Screen發表於
Useful little feature. If site has multiple admins, just knowing they can be tracked will make some of them think twice before tweaking settings.