The bug:
The date in the access log is incorrectly formatted, mm-dd-yyyy instead of the submitty standard yyyy-mm-dd. But let's not fix that right now (end of term -- people have temporary scripts using this data) we'll update this early summer.
Requested revision for improved performance:
On each gradeable page load access for each student we:
- append an entry to the global log file (this is ok, we'll move this to faster disk)
but we also:
- append an entry to a personal log file in the students submission directory. we believe this is a bottleneck, and can't easily be moved to faster disk.
So let's instead store all the load/accesses in a new database table for the course and write the complete access log file at each submission time. So we'll still have all of the access information, but skip writing it to file until we are saving an entire submission.
The bug:
The date in the access log is incorrectly formatted, mm-dd-yyyy instead of the submitty standard yyyy-mm-dd. But let's not fix that right now (end of term -- people have temporary scripts using this data) we'll update this early summer.
Requested revision for improved performance:
On each gradeable page load access for each student we:
but we also:
So let's instead store all the load/accesses in a new database table for the course and write the complete access log file at each submission time. So we'll still have all of the access information, but skip writing it to file until we are saving an entire submission.