General help

Editing the log file (2.2.4+)

Picture of Rob Johnson
Re: Editing the log file (2.2.4+)

Moodle logs every click for all users.   The only way I know to delete a log record is to remove them from the mdl_log table in the database.  If you are the site admin, you are user 2.  Search the table for 2 in the user field, and you can delete the entry.  The size of your log table is pretty small right now.  We only keep logs for 365 days, and right now, my site has 154000.  My site is only a medium size Moodle (27,000 users).

I am curious as to why you want your own logs removed.  I find the logging in Moodle very helpful.  It often provides proof when students are not telling the truth about completing something (like the computer erased my quiz).  I like my logs to be there so my boss can see how hard I work.

Average of ratings: -