Logging API (option to move logs out of database)

Re: Logging API (option to move logs out of database)

by Aaron Barnes -
Number of replies: 1

Hi guys,

One thing I'm noticing absent from this discussion is the use case for Moodle logs as an audit trail.

Expanding on logging in a well thought-out way could ultimately allow for precise audit logs (for data forensics, diagnostics or post-mortems) and perhaps even some form of generic "undo" functionality in the future.

Either way I see the idea of losing the ability to "easily" query logs as a step backwards - but maybe I'm too used to a non-education environment and this just isn't a priority for most users?

Thanks for your time,
Aaron

In reply to Aaron Barnes

Re: Logging API (option to move logs out of database)

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Moving the logs from DB to files, or another back-end just changes your query tool from SQL to grep, or something else.

I guess it depends on what sort of queries you need to run, and what you consider easy.