Tens of thousands of calendar event updates after upgrade to 2.7

Tens of thousands of calendar event updates after upgrade to 2.7

על ידי Sergio Mazzarelli בתאריך
מספר תגובות: 4

Since upgrading our university site from Moodle 2.6.3 to 2.7.1 on August 30, "Educational level" logs show tens of thousands of events called "calendar event update". The description follows this pattern: The user with id "[admin id number]" updated the event "[name of event]" with id "[number]"

There are over two thousand pages of such logs. Is that normal?  We are on vacation and there is hardly any activity on the site. The update logs refer to events in past courses that we keep for archival reasons as well as in new courses we have prepared, but it is difficult for me to imagine how a total of 140 courses could be generating so many logs. Moreover, by scrolling the list, I noticed that the same events are being "updated" again and again, always with the same parameters.

Thank you for any light you may be able to shed on this.

Sergio Mazzarelli

ממוצע דרוגים: -
בתגובה ל: Sergio Mazzarelli

Re: Tens of thousands of calendar event updates after upgrade to 2.7

על ידי Sergio Mazzarelli בתאריך

Sorry, in my previous post I should have made it clear that the the logs started being generated after the upgrade to 2.7.1 and keep growing every day.

בתגובה ל: Sergio Mazzarelli

Re: Tens of thousands of calendar event updates after upgrade to 2.7

על ידי Rob Johnson בתאריך
בתגובה ל: Rob Johnson

Re: Tens of thousands of calendar event updates after upgrade to 2.7

על ידי Sergio Mazzarelli בתאריך

Thank you very much. I will ask our engineer to apply the patch. 

Does anyone know if there is an easy way to delete those tens of thousands of bug-related log entries without getting rid of the regular entries? 

בתגובה ל: Sergio Mazzarelli

Re: Tens of thousands of calendar event updates after upgrade to 2.7

על ידי Ralf Otto בתאריך

Hello Sergio,

i had the same problem with log files in Moodle 2.8
Only one course produced the calendar entries.
After i did a backup of the course i deleted it and restored it as a new course, there were no more calendar entries.
I deleted the rows using this sql statement:

delete from mdl_logstore_standard_log where origin="cli" and target="calendar_event";

I recommend to run select * from mdl_logstore_standard_log where origin="cli" and target="calendar_event";
before and take a look at the rows to check if they're the ones you want to delete.

Best Regards
Ralf